Re: Re: [Fwd: cvs: pear /HTML_QuickForm_advmultiselect package.php]
| From: | Mark Wiesemann | Date: | Tue, 18 Mar 2008 22:50:18 +0000 |
| Subject: | Re: Re: [Fwd: cvs: pear /HTML_QuickForm_advmultiselect package.php] | ||
| References: | 1 2 3 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-4838@lists.php.net to get a copy of this message | ||
Greg Sherwood wrote:
Mark Wiesemann wrote:Not really. Quote from there: "Classes should be given descriptive names. Avoid using abbreviations where possible. Class names should always begin with an uppercase letter. The PEAR class hierarchy is also reflected in the class name, each level of the hierarchy separated with a single underscore." There's nothing written about the requirement for an uppercase letter in the second, third, ... part. "pearweb" is indeed a violation, while Laurent's package seems to be okay. Regards, Mark -- http://www.markwiesemann.euLaurent Laville wrote:Top of this page: http://pear.php.net/manual/en/standards.naming.phpRunning PHP_CodeSniffer 1.0.1 on my package still give an error 11 | ERROR | Package name "HTML_QuickForm_advmultiselect" is not valid;Please don't do that, that would be BC break, causing problems with every script that uses your package. I'd consider this as PHP_CS bug. I don't remember (and can't find) a place on the website and in the manual where a package name is required to be written in this format, although this is the preferred format, of course.| | consider "HTML_QuickForm_Advmultiselect" insteadIs it consider as a rule-break if I rename my package on a future release ?