Fedora EPEL 7 Update: php-pear-PHP-CodeSniffer-2.3.3-1.el7

updates at fedoraproject.org updates at fedoraproject.org
Tue Jul 14 16:45:37 UTC 2015


--------------------------------------------------------------------------------
Fedora EPEL Update Notification
FEDORA-EPEL-2015-6902
2015-06-25 22:31:06
--------------------------------------------------------------------------------

Name        : php-pear-PHP-CodeSniffer
Product     : Fedora EPEL 7
Version     : 2.3.3
Release     : 1.el7
URL         : http://pear.php.net/package/PHP_CodeSniffer
Summary     : PHP coding standards enforcement tool
Description :
PHP_CodeSniffer provides functionality to verify that code conforms to
certain standards, such as PEAR, or user-defined.

--------------------------------------------------------------------------------
Update Information:

Upstream Changelog:
* 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

--------------------------------------------------------------------------------

This update can be installed with the "yum" update programs.  Use
su -c 'yum update php-pear-PHP-CodeSniffer' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora EPEL GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the epel-package-announce mailing list