[ANNOUNCEMENT] PHP_CodeSniffer-1.0.1 (stable) Released.
| From: | PEAR Announce | Date: | Sun, 03 Feb 2008 23:00:34 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_CodeSniffer-1.0.1 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-28511@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_CodeSniffer-1.0.1 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- Squiz ArrayDeclarationSniff now throws error if the array keyword is followed by a space
- Squiz ArrayDeclarationSniff now throws error for empty multi-line arrays
- Squiz ArrayDeclarationSniff now throws error for multi-line arrays with a single value
- Squiz DocCommentAlignmentSniff now checks for a single space before tags inside docblocks
- Squiz ForbiddenFunctionsSniff now disallows is_null() to force use of (=== NULL) instead
- Squiz VariableCommentSniff now continues throwing errors after the first one is found
- Squiz SuperfluousWhitespaceSniff now throws errors for multiple blank lines inside functions
- MySource IncludedSystemSniff now checks extended class names
- MySource UnusedSystemSniff now checks extended and implemented class names
- MySource IncludedSystemSniff now supports includeWidget()
- MySource UnusedSystemSniff now supports includeWidget()
- Added PEAR ValidVariableNameSniff to check that only private member vars are prefixed with an
underscore
- Added Squiz DisallowCountInLoopsSniff to check for the use of count() in FOR and WHILE loop
conditions
- Added MySource UnusedSystemSniff to check for included classes that are never used
- Fixed a problem that caused the parentheses map to sometimes contain incorrect values
- Fixed bug #12767 : Cant run phpcs from dir with PEAR subdir
- Fixed bug #12773 : Reserved variables are not detected in strings
-- Thanks to Wilfried Loche for the patch
- Fixed bug #12832 : Tab to space conversion does not work
- Fixed bug #12888 : extra space indentation = Notice: Uninitialized string offset...
- Fixed bug #12909 : Default generateDocs function does not work under linux
-- Thanks to Paul Smith for the patch
- Fixed bug #12957 : PHP 5.3 magic method __callStatic
-- Thanks to Manuel Pichler for the patch
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/1.0.1
Download: http://download.pear.php.net/package/PHP_CodeSniffer-1.0.1.tgz
Authors
-------
Greg Sherwood (lead)
Marc McIntyre (lead)