Bug 633630

Summary: Revise PHP snippets
Product: [Fedora] Fedora Reporter: Renich Bon Ciric <renich>
Component: gedit-pluginsAssignee: Rakesh Pandit <rakesh.pandit>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 14CC: dodji, icq
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 22:12:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Renich Bon Ciric 2010-09-14 04:21:59 UTC
Description of problem:
The PHP snippets don't follow nor Pear Coding Standard nor ZendFramework's Coding Standard.

Also, documentation on snippet functions and classes should be revised.

Version-Release number of selected component (if applicable):
all

How reproducible:
Check the Tools>Manage snippets>PHP section

Actual results:
The snippets follow no coding standard from official PHP channels

Expected results:
They snippets should be following some Coding Standard. IMHO, ZendFramework's or Pear's

Additional info:
These two coding standards come from projects very close to PHP. Most IDEs in Fedora (NetBeans and Eclipse) follow it.

Also, when generating a class, the documentation (comments above) should follow phpdoc's standard; which is the one followed by Eclipse.

Comment 1 Rakesh Pandit 2010-09-14 05:22:44 UTC
Is it just with F14 version ? Do you think this needs to be taken care by upstream ? I will have a look on coming weekend.

Comment 2 Renich Bon Ciric 2010-09-14 14:06:04 UTC
(In reply to comment #1)
> Is it just with F14 version ? Do you think this needs to be taken care by
> upstream ? I will have a look on coming weekend.

It is, actually, all versions. Yeah. Maybe upstream would be a good idea.

Comment 3 Rakesh Pandit 2010-09-14 16:18:25 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Is it just with F14 version ? Do you think this needs to be taken care by
> > upstream ? I will have a look on coming weekend.
> 
> It is, actually, all versions. Yeah. Maybe upstream would be a good idea.

Yeah seems to me also. It would be great if you can report this against corresponding component(gedit or gedit-plugins (as sub-component)) on gnome bugzilla and paste link here.

In case you are not able to/or are short of time I will see to it in few days.

Thanks,

Comment 4 Renich Bon Ciric 2010-09-15 16:11:14 UTC
Done!
https://bugzilla.gnome.org/show_bug.cgi?id=629774

Comment 5 Ignacio Casal Quinteiro (nacho) 2011-06-20 17:47:05 UTC
Could you please modify the snippets and attach them here or in the gnome bugzilla?

Comment 6 Fedora End Of Life 2012-08-16 22:12:42 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping