Re: Re: [Fwd: cvs: pear /HTML_QuickForm_advmultiselect package.php]

From: Date: Tue, 18 Mar 2008 22:45:20 +0000
Subject: Re: Re: [Fwd: cvs: pear /HTML_QuickForm_advmultiselect package.php]
References: 1 2  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-4837@lists.php.net to get a copy of this message
Mark Wiesemann wrote:
Laurent Laville wrote:
Running PHP_CodeSniffer 1.0.1 on my package still give an error 11 | ERROR | Package name "HTML_QuickForm_advmultiselect" is not valid;
     |       | consider "HTML_QuickForm_Advmultiselect" instead
Is it consider as a rule-break if I rename my package on a future release ?
    
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. Top of this page:
http://pear.php.net/manual/en/standards.naming.php Just because existing packages break the defined naming conventions doesn't make it a lesser error and a bug in PHP_CodeSniffer. You just need to ignore the errors if you have a good reason for going against the standard, such as in this case. Greg

« previous php.pear.qa (#4837) next »