[ANNOUNCEMENT] PHP_CodeSniffer-0.8.0 (beta) Released.
| From: | PEAR Announce | Date: | Wed, 08 Aug 2007 06:09:00 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_CodeSniffer-0.8.0 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27803@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_CodeSniffer-0.8.0 (beta) has been released at http://pear.php.net/.
Release notes
-------------
- Added new XML report format; --report=xml (feature request #11535)
-- Thanks to Brett Bieber for the patch
- Added new command line argument --ignore to specify a list of files to skip (feature request
#11556)
- Added PHPCS and MySource coding standards into the core install
- Scope map no longer gets confused by curly braces that act as string offsets
- Removed CodeSniffer/SniffException.php as it is no longer used
- Unit tests can now be run directly from a CVS checkout
- Made private vars and functions protected in PHP_CodeSniffer class so this package can be
overridden
- Added new Metrics category to Generic conding standard
-- Contains Cyclomatic Complexity and Nesting Level sniffs
-- Thanks to Johann-Peter Hartmann for the contribution
- Added new Generic DisallowTabIndentSniff to throw errors if tabs are used for indentation (feature
request #11738)
-- PEAR and Squiz standards use this new sniff to throw more specific indentation errors
- Generic MultipleStatementAlignmentSniff has new private var to set a padding size limit (feature
request #11555)
- Generic MultipleStatementAlignmentSniff can now handle assignments that span multiple lines
(feature request #11561)
- Generic LineLengthSniff now has a max line length after which errors are thrown instead of
warnings
-- BC BREAK: Override the protected member var absoluteLineLimit and set it to zero in custom
LineLength sniffs
-- Thanks to Johann-Peter Hartmann for the contribution
- Comment sniff errors about incorrect tag orders are now more descriptive (feature request #11693)
- Fixed bug #11473 : Invalid CamelCaps name when numbers used in names
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.8.0
Download: http://download.pear.php.net/package/PHP_CodeSniffer-0.8.0.tgz
Authors
-------
Greg Sherwood (lead)
Marc McIntyre (lead)