Re: [ANNOUNCEMENT] PHP_CodeSniffer-1.2.0RC3 (beta) Released.

From: Date: Tue, 07 Jul 2009 06:20:33 +0000
Subject: Re: [ANNOUNCEMENT] PHP_CodeSniffer-1.2.0RC3 (beta) Released.
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29925@lists.php.net to get a copy of this message
PEAR Announce a écrit :
The new PEAR package PHP_CodeSniffer-1.2.0RC3 (beta) has been released at http://pear.php.net/. Release notes ------------- - You can now use @codingStandardsIgnoreStart and @...End comments to suppress error messages (feature request #14002) - A warning is now included for files without any code when short_open_tag is set to Off (feature request #12952) - You can now use relative paths to your custom standards with the --standard cmd line arg (feature request #14967) - You can now override magic methods and functions in PEAR ValidFunctionNameSniff (feature request #15830) - MySource IncludeSystemSniff now recognises widget action classes - MySource IncludeSystemSniff now knows about unit test classes and changes rules accordingly
*What's wrong with PHPCS 1.2.0RC3 ?* I've just upgraded from 1.2.0RC2, and run it on many package and got tone of errors and warnings. Here are examples 1. ===> PHP CODE SNIFFER REPORT SUMMARY --------------------------------------------------------------------------------
FILE                                                            ERRORS WARNINGS
--------------------------------------------------------------------------------
C:\wamp\bin\php\php5.2.9-2\PEAR\HTML\CSS.php                    2179    171
-------------------------------------------------------------------------------- A TOTAL OF 2179 ERROR(S) AND 171 WARNING(S) WERE FOUND IN 1 FILE(S) -------------------------------------------------------------------------------- 2. ===> PHP CODE SNIFFER REPORT SUMMARY --------------------------------------------------------------------------------
FILE                                                            ERRORS WARNINGS
--------------------------------------------------------------------------------
C:\wamp\bin\php\php5.2.9-2\PEAR\HTTP\Request2.php               946     151
-------------------------------------------------------------------------------- A TOTAL OF 946 ERROR(S) AND 151 WARNING(S) WERE FOUND IN 1 FILE(S) -------------------------------------------------------------------------------- *While with PHPCS 1.2.0RC2 I got only* 1. ===> PHP CODE SNIFFER REPORT SUMMARY --------------------------------------------------------------------------------
FILE                                                            ERRORS WARNINGS
--------------------------------------------------------------------------------
C:\wamp\bin\php\php5.2.9-2\PEAR\HTML\CSS.php                    1       0
-------------------------------------------------------------------------------- A TOTAL OF 1 ERROR(S) AND 0 WARNING(S) WERE FOUND IN 1 FILE(S) -------------------------------------------------------------------------------- 2. ===> PHP CODE SNIFFER REPORT SUMMARY --------------------------------------------------------------------------------
FILE                                                            ERRORS WARNINGS
--------------------------------------------------------------------------------
C:\wamp\bin\php\php5.2.9-2\PEAR\HTTP\Request2.php               165     22
-------------------------------------------------------------------------------- A TOTAL OF 165 ERROR(S) AND 22 WARNING(S) WERE FOUND IN 1 FILE(S) --------------------------------------------------------------------------------

« previous php.pear.general (#29925) next »