[ANNOUNCEMENT] PHP_CodeSniffer-1.4.3 (stable) Released.
| From: | PEAR Announce | Date: | Tue, 04 Dec 2012 03:17:11 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_CodeSniffer-1.4.3 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31675@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_CodeSniffer-1.4.3 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- Added support for the PHP 5.5 T_FINALLY token to detect try/catch/finally statements
- Added empty CodeSniffer.conf to enable config settings for Composer installs
- Added Generic EndFileNoNewlineSniff to ensure there is no newline at the end of a file
- Autoloader can now load PSR-0 compliant classes
-- Thanks to Maik Penz for the patch
- Squiz NonExecutableCodeSniff no longer throws error for multi-line RETURNs inside CASE statements
-- Thanks to Marc Ypes for the patch
- Squiz OperatorSpacingSniff no longer reports errors for negative numbers inside inline THEN
statements
-- Thanks to Klaus Purer for the patch
- Squiz OperatorSpacingSniff no longer reports errors for the assignment of operations involving
negative numbers
- Squiz SelfMemberReferenceSniff can no longer get into an infinite loop when checking a static call
with a namespace
-- Thanks to Andy Grunwald for the patch
- Fixed bug #19699 : Generic.Files.LineLength giving false positives when tab-width is used
- Fixed bug #19726 : Wrong number of spaces expected after instanceof static
- Fixed bug #19727 : PSR2: no error reported when using } elseif {
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.4.3
Download: http://download.pear.php.net/package/PHP_CodeSniffer-1.4.3.tgz
Authors
-------
Greg Sherwood (lead)