[ANNOUNCEMENT] PHP_CodeSniffer-2.3.2 (stable) Released.
[email protected] ("PEAR Announce") Wed, 29 Apr 2015 01:49:36 +0100 (BST)
| Newsgroups | php.pear.general |
|---|---|
| Message-ID | <[email protected]> |
The new PEAR package PHP_CodeSniffer-2.3.2 (stable) has been released at http://pear.php.net/.
Release notes
-------------
- The error message for PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase is now clearer (request #579)
- Fixed bug #545 : Long list of CASE statements can cause tokenizer to reach a depth limit
- Fixed bug #565 : Squiz.WhiteSpace.OperatorSpacing reports negative number in short array
-- Thanks to VaĊĦek Purchart for the patch
-- Same fix also applied to Squiz.Formatting.OperatorBracket
- Fixed bug #569 : Generic ScopeIndentSniff throws PHP notices in JS files
- Fixed bug #570 : Phar class fatals in PHP less than 5.3
Package Info
------------
PHP_CodeSniffer is a set of two PHP scripts; the main phpcs script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard, and a second phpcbf script to automatically correct coding standard violations. PHP_CodeSniffer is an essential development tool that ensures your code remains clean and consistent.
Related Links
-------------
Package home: http://pear.php.net/package/PHP_CodeSniffer
Changelog: http://pear.php.net/package/PHP_CodeSniffer/download/2.3.2
Download: http://download.pear.php.net/package/PHP_CodeSniffer-2.3.2.tgz
Authors
-------
Greg Sherwood (lead)