[ANNOUNCEMENT] PHP_CodeSniffer-0.2.0 (alpha) Released.
| From: | PEAR Announce | Date: | Thu, 12 Oct 2006 22:41:54 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_CodeSniffer-0.2.0 (alpha) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25424@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_CodeSniffer-0.2.0 (alpha) has been released at http://pear.php.net/.
Release notes
-------------
- Added a generic standards package that will contain generic sniffs to be used in specific coding
standards
(thanks to Frederic Poeydomenge for the idea)
- Changed PEAR standard to use generic sniffs where available
- Added LowerCaseConstantSniff to Generic standard
- Added UpperCaseConstantSniff to Generic standard
- Added DisallowShortOpenTagSniff to Generic standard
- Added LineLengthSniff to Generic standard
- Added UpperCaseConstantNameSniff to Generic standard
- Added OpeningMethodBraceBsdAllmanSniff to Generic standard (contrib by Frederic Poeydomenge)
- Added OpeningMethodBraceKernighanRitchieSniff to Generic standard (contrib by Frederic
Poeydomenge)
- Added framework for core PHP_CodeSniffer unit tests
- Added unit test for PHP_CodeSniffer:isCamelCaps method
- ScopeClosingBraceSniff now checks indentation of BREAK statements
- Added new command line arg (-vv) to show developer debug output
- Fixed some coding standard errors
- Fixed bug #8834 : Massive memory consumption
- Fixed bug #8836 : path case issues in package.xml
- Fixed bug #8843 : confusion on nested switch()
- Fixed bug #8841 : comments taken as whitespace
- Fixed bug #8884 : another problem with nested switch() statements
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.2.0
Download: http://download.pear.php.net/package/PHP_CodeSniffer-0.2.0.tgz
Authors
-------
Greg Sherwood (lead)
Marc McIntyre (lead)