[ANNOUNCEMENT] PHP_CodeSniffer-1.3.6 (stable) Released.
| From: | PEAR Announce | Date: | Wed, 08 Aug 2012 02:05:02 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_CodeSniffer-1.3.6 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31604@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_CodeSniffer-1.3.6 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- Memory usage has been dramatically reduced when using the summary report
-- Reduced memory is only available when displaying a single summary report to the screen
-- PHP_CodeSniffer will not generate any messages in this case, storing only error counts instead
-- Impact is most notable with very high error and warning counts
- Significantly improved the performance of Squiz NonExecutableCodeSniff
- Ignore patterns now check the relative path of a file based on the dir being checked
-- Allows ignore patterns to become more generic as the path to the code is no longer included
when checking
-- Thanks to Kristof Coomans for the patch
- Sniff settings can now be changed by specifying a special comment format inside a file
-- e.g., // @codingStandardsChangeSetting PEAR.Functions.FunctionCallSignature
allowMultipleArguments false
-- If you change a setting, don't forget to change it back
- Added Generic EndFileNewlineSniff to ensure PHP files end with a newline character
- PEAR FunctionCallSignatureSniff now includes a setting to force one argument per line in
multi-line calls
-- Set allowMultipleArguments to false
- Squiz standard now enforces one argument per line in multi-line function calls
- Squiz FunctionDeclarationArgumentSpacingSniff now supports closures
- Squiz OperatorSpacingSniff no longer throws an error for negative values inside an inline THEN
statement
-- Thanks to Klaus Purer for the patch
- Squiz FunctionCommentSniff now throws an error for not closing a comment with */
-- Thanks to Klaus Purer for the patch
- Summary report no longer shows two lines of PHP_Timer output when showing sources
- Fixed undefined variable error in PEAR FunctionCallSignatureSniff for lines with no indent
- Fixed bug #19502 : Generic.Files.LineEndingsSniff fails if no new-lines in file
- Fixed bug #19508 : switch+return: Closing brace indented incorrectly
- Fixed bug #19532 : The PSR-2 standard don't recognize Null in class names
- Fixed bug #19546 : Error thrown for __call() method in traits
Package Info
------------
PHP_CodeSniffer is a PHP5 script that tokenises PHP, JavaScript and CSS files to detect violations
of a defined coding standard. It is an essential development tool that ensures your code remains
clean and consistent. It can also help prevent some common semantic errors made by developers.
Related Links
-------------
Package home: http://pear.php.net/package/PHP_CodeSniffer
Changelog: http://pear.php.net/package/PHP_CodeSniffer/download/1.3.6
Download: http://download.pear.php.net/package/PHP_CodeSniffer-1.3.6.tgz
Authors
-------
Greg Sherwood (lead)