[ANNOUNCEMENT] PHP_CodeSniffer-0.4.0 (beta) Released.
| From: | PEAR Announce | Date: | Sun, 18 Feb 2007 22:39:53 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_CodeSniffer-0.4.0 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26613@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_CodeSniffer-0.4.0 (beta) has been released at http://pear.php.net/.
Release notes
-------------
- Standard name specified with --standard command line argument is no longer case sensitive
- Long error and warning messages are now wrapped to 80 characters in the full error report (thanks
Endre Czirbesz)
- Shortened a lot of error and warning messages so they don't take up so much room
- Squiz FunctionCommentSniff now checks that param comments start with a captial letter and end with
a full stop
- Squiz FunctionSpacingSniff now reports incorrect lines below function on closing brace, not
function keyword
- Squiz FileCommentSniff now checks that there are no blank lines between the open PHP tag and the
comment
- PHP_CodeSniffer_File::isReference() now returns correctly when checking refs on right side of
=>
- Fixed incorrect error with switch closing brace in Squiz SwitchDeclarationSniff
- Fixed missing error when multiple statements are not aligned correctly with object operators
- Fixed incorrect errors for some PHP special variables in Squiz ValidVariableNameSniff
- Fixed incorrect errors for arrays that only contain other arrays in Squiz ArrayDeclarationSniff
- Fixed bug #9844 : throw new Exception(\n accidently reported as error but it ain't
Package Info
------------
PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP code to detect violations
of a defined set of coding standards. It is an essential development tool that ensures that your
code remains clean and consistent. It can even 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/0.4.0
Download: http://download.pear.php.net/package/PHP_CodeSniffer-0.4.0.tgz
Authors
-------
Greg Sherwood (lead)
Marc McIntyre (lead)