[ANNOUNCEMENT] PHP_CodeSniffer-1.3.3 (stable) Released.
| From: | PEAR Announce | Date: | Fri, 17 Feb 2012 03:11:20 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_CodeSniffer-1.3.3 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31423@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_CodeSniffer-1.3.3 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- Added new Generic FixmeSniff that shows error messages for all FIXME comments left in your code
-- Thanks to Sam Graham for the contribution
- The maxPercentage setting in the Squiz CommentedOutCodeSniff can now be overriden in a rulset.xml
file
-- Thanks to Volker Dusch for the patch
- The Checkstyle and XML reports now use XMLWriter
-- Only change in output is that empty file tags are no longer produced for files with no
violations
-- Thanks to Sebastian Bergmann for the patch
- Added PHP_CodeSniffer_Tokens::$bracketTokens to give sniff writers fast access to open and close
bracket tokens
- Fixed an issue in AbstractPatternSniff where EOL tokens were not being correctly checked in some
cases
- Fixed bug #19114 : CodeSniffer checks extension even for single file
- Fixed bug #19171 : Show sniff codes option is ignored by some report types
-- Thanks to Dominic Scheirlinck for the patch
- Fixed bug #19188 : Lots of PHP Notices when analyzing the Symfony framework
-- First issue was list-style.. lines in CSS files not properly adjusting open/close bracket
positions
-- Second issue was notices caused by bug #19137
- Fixed bug #19208 : UpperCaseConstantName reports class members
-- Was also a problem with LowerCaseConstantName as well
- Fixed bug #19256 : T_DOC_COMMENT in CSS files breaks ClassDefinitionNameSpacingSniff
-- Thanks to Klaus Purer for the patch
- Fixed bug #19264 : Squiz.PHP.NonExecutableCode does not handle RETURN in CASE without BREAK
- Fixed bug #19270 : DuplicateClassName does not handle namespaces correctly
- Fixed bug #19283 : CSS @media rules cause false positives
-- Thanks to Klaus Purer for the patch
Package Info
------------
PHP_CodeSniffer is a PHP5 script that tokenises 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.3.3
Download: http://download.pear.php.net/package/PHP_CodeSniffer-1.3.3.tgz
Authors
-------
Greg Sherwood (lead)