[ANNOUNCEMENT] PHP_CodeSniffer-1.3.0 (stable) Released.
| From: | PEAR Announce | Date: | Thu, 17 Mar 2011 04:48:50 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_CodeSniffer-1.3.0 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31025@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_CodeSniffer-1.3.0 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- Add a new token T_CLOSURE that replaces T_FUNCTION if the function keyword is anonymous
- Many Squiz sniffs no longer report errors when checking closures; they are now ignored
- Fixed some error messages in PEAR MultiLineConditionSniff that were not using placeholders for
message data
- AbstractVariableSniff now correctly finds variable names wrapped with curly braces inside double
quoted strings
- PEAR FunctionDeclarationSniff now ignores arrays in argument default values when checking
multi-line declarations
- Fixed bug #18200 : Using custom named ruleset file as standard no longer works
- Fixed bug #18196 : PEAR MultiLineCondition.SpaceBeforeOpenBrace not consistent with newline chars
- Fixed bug #18204 : FunctionCommentThrowTag picks wrong exception type when throwing function call
- Fixed bug #18222 : Add __invoke method to PEAR standard
- Fixed bug #18235 : Invalid error generation in Squiz.Commenting.FunctionCommentThrowTag
- Fixed bug #18250 : --standard with relative path skips Standards' "implicit" sniffs
- Fixed bug #18274 : Multi-line IF and function call indent rules conflict
- Fixed bug #18282 : Squiz doesn't handle final keyword before function comments
-- Thanks to Dave Perrett for the patch
- Fixed bug #18336 : Function isUnderscoreName gives php notices
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.0
Download: http://download.pear.php.net/package/PHP_CodeSniffer-1.3.0.tgz
Authors
-------
Greg Sherwood (lead)