[ANNOUNCEMENT] PHP_CodeSniffer-2.3.3 (stable) Released.

From: Date: Wed, 24 Jun 2015 04:45:32 +0000
Subject: [ANNOUNCEMENT] PHP_CodeSniffer-2.3.3 (stable) Released.
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-32031@lists.php.net to get a copy of this message
The new PEAR package PHP_CodeSniffer-2.3.3 (stable) has been released at http://pear.php.net/. Release notes ------------- - Improved the performance of the CSS tokenizer, especially on very large CSS files (thousands of lines) -- Thanks to Klaus Purer for the patch - Defined tokens for lower PHP versions are now phpcs-specific strings instead of ints -- Stops conflict with other projects, like PHP_CodeCoverage - Added more guard code for syntax errors to various sniffs - Improved support for older HHVM versions -- Thanks to Kunal Mehta for the patch - Squiz ValidLogicalOperatorsSniff now ignores XOR as type casting is different when using the ^ operator (request #567) - Squiz CommentedOutCodeSniff is now better at ignoring URLs inside comments - Squiz ControlSignatureSniff is now better at checking embedded PHP code - Squiz ScopeClosingBraceSniff is now better at checking embedded PHP code - Fixed bug #584 : Squiz.Arrays.ArrayDeclaration sniff gives incorrect NoComma error for multiline string values - Fixed bug #589 : PEAR.Functions.FunctionCallSignature sniff not checking all function calls - Fixed bug #592 : USE statement tokenising can sometimes result in mismatched scopes - Fixed bug #594 : Tokenizer issue on closure that returns by reference - Fixed bug #595 : Colons in CSS selectors within media queries throw false positives -- Thanks to Klaus Purer for the patch - Fixed bug #598 : PHPCBF can break function/use closure brace placement - Fixed bug #603 : Squiz ControlSignatureSniff hard-codes opener type while fixing - Fixed bug #605 : Auto report-width specified in ruleset.xml ignored - Fixed bug #611 : Invalid numeric literal on CSS files under PHP7 - Fixed bug #612 : Multi-file diff generating incorrectly if files do not end with EOL char - Fixed bug #615 : Squiz OperatorBracketSniff incorrectly reports and fixes operations using self:: - Fixed bug #616 : Squiz DisallowComparisonAssignmentSniff inconsistent errors with inline IF statements - Fixed bug #617 : Space after switch keyword in PSR-2 is not being enforced - Fixed bug #621 : PSR2 SwitchDeclaration sniff doesn't detect, or correctly fix, case body on same line as statement 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.3 Download: http://download.pear.php.net/package/PHP_CodeSniffer-2.3.3.tgz Authors ------- Greg Sherwood (lead)

« previous php.pear.general (#32031) next »