[ANNOUNCEMENT] PHP_CodeSniffer-1.2.0RC1 (beta) Released.
| From: | PEAR Announce | Date: | Mon, 09 Mar 2009 03:40:12 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_CodeSniffer-1.2.0RC1 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-29739@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_CodeSniffer-1.2.0RC1 (beta) has been released at http://pear.php.net/.
Release notes
-------------
- Reports that are output to a file now include a trailing newline at the end of the file
- Fixed sniff names not shown in -vvv token processing output
- Added Generic SubversionPropertiesSniff to check that specific svn props are set for files
-- Thanks to Jack Bates for the contribution
- The PHP version check can now be overridden in classes that extend PEAR FileCommentSniff
-- Thanks to Helgi Ãormar Ãorbjörnsson for the suggestion
- Added Generic ConstructorNameSniff to check for PHP4 constructor name usage
-- Thanks to Leif Wickland for the contribution
- Squiz standard now supports multi-line function and condition sniffs from PEAR standard
- Squiz standard now uses Generic ConstructorNameSniff
- Added MySource GetRequestDataSniff to ensure REQUEST, GET and POST are not accessed directly
- Squiz OperatorBracketSniff now allows square brackets in simple unbracketed operations
- Fixed the incorrect tokenizing of multi-line block comments in CSS files
- Fixed bug #15383 : Uncaught PHP_CodeSniffer_Exception
- Fixed bug #15408 : An unexpected exception has been caught: Undefined offset: 2
- Fixed bug #15519 : Uncaught PHP_CodeSniffer_Exception
- Fixed bug #15624 : Pre-commit hook fails with PHP errors
- Fixed bug #15661 : Uncaught PHP_CodeSniffer_Exception
- Fixed bug #15722 : "declare(encoding = 'utf-8');" leads to "Missing file
doc comment"
- Fixed bug #15910 : Object operator indention not calculated correctly
Package Info
------------
PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP, JavaScript and CSS files
to detect violations of a defined coding standard. It is an essential development tool that ensures
your code remains clean and consistent. It can also 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.2.0RC1
Download: http://download.pear.php.net/package/PHP_CodeSniffer-1.2.0RC1.tgz
Authors
-------
Greg Sherwood (lead)