Re: [ANNOUNCEMENT] PHP_CodeSniffer-1.3.0a1 (alpha) Released.
| From: | Michael Gauthier | Date: | Thu, 12 Aug 2010 19:04:31 +0000 |
| Subject: | Re: [ANNOUNCEMENT] PHP_CodeSniffer-1.3.0a1 (alpha) Released. | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53660@lists.php.net to get a copy of this message | ||
On Thu, 2010-07-15 at 05:04 +0000, PEAR Announce wrote:
> The new PEAR package PHP_CodeSniffer-1.3.0a1 (alpha) has been released at
> http://pear.php.net/.
>
<snip>
Hi Greg,
This is an impressive milestone for PHP Code Sniffer and certainly
indicates a bright future for the package.
A number of developers have tried out the alpha and have some concerns
about backwards compatibility. It seems the change from PHP based rule
definitions to XML based rules causes problems for people who have
already developed custom rulesets.
I think an ideal solution would be to provide backwards compatibility
for the old CodingStandards.php method of writing rulesets and encourage
developers to update to the newer (and in my opinion better) XML
rulesets. You could use @deprecated in the API docs to indicate where
APIs should no longer be used.
While backwards compatibility doesn't have to be addressed for further
alpha releases, it should be fixed before 1.3.0 goes stable.
Cheers,
Mike