[ANNOUNCEMENT] PHP_CodeSniffer-0.3.0 (beta) Released.
| From: | PEAR Announce | Date: | Thu, 11 Jan 2007 22:01:38 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_CodeSniffer-0.3.0 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26328@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_CodeSniffer-0.3.0 (beta) has been released at http://pear.php.net/.
Release notes
-------------
- Updated package.xml to version 2
- Specifying coding standard on command line is now optional, even if you have multiple standards
installed
- PHP_CodeSniffer uses the PEAR coding standard by default if no standard is specified
- New command line option, --extensions, to specify a comma separated list of file extensions to
check
- Converted all unit tests to PHPUnit 3 format
- Added new coding standard, Squiz, that can be used as an alternative to PEAR
- also contains more examples of sniffs
- some may be moved into the Generic coding standard if required
- Added MultipleStatementAlignmentSniff to Generic standard
- Added ScopeIndentSniff to Generic standard
- Added ForbiddenFunctionsSniff to Generic standard
- Added FileCommentSniff to PEAR standard
- Added ClassCommentSniff to PEAR standard
- Added FunctionCommentSniff to PEAR standard
- Change MultipleStatementSniff to MultipleStatementAlignmentSniff in PEAR standard
- Replaced Methods directory with Functions directory in Generic and PEAR standards
- also renamed some of the sniffs in those directories
- Updated file, class and method comments for all files
- Fixed bug #9274 : nested_parenthesis element not set for open and close parenthesis tokens
- Fixed bug #9411 : too few pattern characters cause incorrect error report
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.3.0
Download: http://download.pear.php.net/package/PHP_CodeSniffer-0.3.0.tgz
Authors
-------
Greg Sherwood (lead)
Marc McIntyre (lead)