-------------------------------------------------------------------------------- Fedora EPEL Update Notification FEDORA-EPEL-2016-1595682019 2016-08-03 12:32:44.312046 --------------------------------------------------------------------------------
Name : php-pear-PHP-CodeSniffer Product : Fedora EPEL 7 Version : 2.6.2 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:
**Version 2.6.2** - Added a new --exclude CLI argument to exclude a list of sniffs from checking and fixing (request #904) - Accepts the same sniff codes as the --sniffs command line argument, but provides the opposite functionality - Added a new -q command line argument to disable progress and verbose information from being printed (request #969) - Useful if a coding standard hard-codes progess or verbose output but you want PHPCS to be quiet - Use the command "phpcs --config-set quiet true" to turn quiet mode on by default - Generic LineLength sniff no longer errors for comments that cannot be broken out onto a new line (request #766) - A typical case is a comment that contains a very long URL - The comment is ignored if putting the URL on a indented new comment line would be longer than the allowed length - Settings extensions in a ruleset no longer causes PHP notices during unit testing - Thanks to Klaus Purer for the patch - Version control reports now show which errors are fixable if you are showing sources - Added a new sniff to enforce a single space after a NOT operator (request #1051) - Include in a ruleset using the code Generic.Formatting.SpaceAfterNot - The Squiz.Commenting.BlockComment sniff now supports tabs for indenting comment lines (request #1056) - Fixed bug #790 : Incorrect missing throws error in methods that use closures - Fixed bug #908 : PSR2 standard is not checking that closing brace is on line following the body - Fixed bug #945 : Incorrect indent behavior using deep-nested function and arrays - Fixed bug #961 : Two anonymous functions passed as function/method arguments cause indentation false positive - Fixed bug #1005 : Using global composer vendor autoload breaks PHP lowercase built-in function sniff - Thanks to Michael Butler for the patch - Fixed bug #1007 : Squiz Unreachable code detection is not working properly with a closure inside a case - Fixed bug #1023 : PSR2.Classes.ClassDeclaration fails if class extends base class and "implements" is on trailing line - Fixed bug #1026 : Arrays in comma delimited class properties cause ScopeIndent to increase indent - Fixed bug #1028 : Squiz ArrayDeclaration incorrectly fixes multi-line array where end bracket is not on a new line - Fixed bug #1034 : Squiz FunctionDeclarationArgumentSpacing gives incorrect error when first arg is a variadic - Fixed bug #1036 : Adjacent assignments aligned analysis statement wrong - Fixed bug #1049 : Version control reports can show notices when the report width is very small - Fixed bug #21050 : PEAR MultiLineCondition sniff suppresses errors on last condition line --------------------------------------------------------------------------------
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 https://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 --------------------------------------------------------------------------------
epel-package-announce@lists.fedoraproject.org