Fedora 21 Update: php-pear-PHP-CodeSniffer-2.3.0-1.fc21

updates at fedoraproject.org updates at fedoraproject.org
Sat Mar 14 09:17:38 UTC 2015


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2015-3225
2015-03-05 09:17:20
--------------------------------------------------------------------------------

Name        : php-pear-PHP-CodeSniffer
Product     : Fedora 21
Version     : 2.3.0
Release     : 1.fc21
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:

Changelog:
* The existence of the main config file is now cached to reduce is_file() calls when it doesn't exist (request #486)
* Abstract classes inside the Sniffs directory are now ignored even if they are named [Name]Sniff.php (request #476)
* PEAR and Squiz FileComment sniffs no longer have @ in their error codes.
* PEAR MultiLineConditionSniff now allows comment lines inside multi-line IF statement conditions
* Generic ForbiddenFunctionsSniff now supports setting null replacements in ruleset files (request #263)
* Generic opening function brace sniffs now support checking of closures
* Generic OpeningFunctionBraceKernighanRitchieSniff can now fix all the errors it finds
* Generic OpeningFunctionBraceKernighanRitchieSniff now allows empty functions with braces next to each other
* Generic OpeningFunctionBraceBsdAllmanSniff now allows empty functions with braces next to each other
* Improved auto report width for the "full" report
* Improved conflict detection during auto fixing
* Generic ScopeIndentSniff is no longer confused by empty closures
* Squiz ControlSignatureSniff now always ignores comments (fixes bug #490)
* Squiz OperatorSpacingSniff no longer throws errors for code in the form ($foo || -1 === $bar)
* Fixed errors tokenizing T_ELSEIF tokens on HHVM 3.5
* Squiz ArrayDeclarationSniff is no longer tricked by comments after array values
* PEAR IncludingFileSniff no longer produces invalid code when removing parenthesis from require/include statements
* Fixed bug #415 : The @codingStandardsIgnoreStart has no effect during fixing
* Fixed bug #432 : Properties of custom sniffs cannot be configured
* Fixed bug #453 : PSR2 standard does not allow closing tag for mixed PHP/HTML files
* Fixed bug #457 : FunctionCallSignature sniffs do not support here/nowdoc syntax and can cause syntax error when fixing
* Fixed bug #466 : PropertyLabelSpacing JS fixer issue when there is no space after colon
* Fixed bug #473 : Writing a report for an empty folder to existing file includes the existing contents
* Fixed bug #485 : PHP notice in Squiz.Commenting.FunctionComment when checking malformed @throws comment
* Fixed bug #491 : Generic InlineControlStructureSniff can correct with missing semicolon
* Fixed bug #492 : Use statements don't increase the scope indent
* Fixed bug #493 : PSR1_Sniffs_Methods_CamelCapsMethodNameSniff false positives for some magic method detection
* Fixed bug #496 : Closures in PSR2 are not checked for a space after the function keyword
* Fixed bug #497 : Generic InlineControlStructureSniff does not support alternative SWITCH syntax
* Fixed bug #500 : Functions not supported as values in Squiz ArrayDeclaration sniff
* Fixed bug #501 : ScopeClosingBrace and ScopeIndent conflict with closures used as array values
* Fixed bug #502 : PSR1 SideEffectsSniff sees declare() statements as side effects

Full changelog: http://pear.php.net/package/PHP_CodeSniffer/download/2.3.0/
--------------------------------------------------------------------------------
ChangeLog:

* Wed Mar  4 2015 Remi Collet <remi at fedoraproject.org> - 2.3.0-1
- Update to 2.3.0 (stable)
* Thu Jan 22 2015 Remi Collet <remi at fedoraproject.org> - 2.2.0-1
- Update to 2.2.0 (stable)
* Thu Dec 18 2014 Remi Collet <remi at fedoraproject.org> - 2.1.0-1
- Update to 2.1.0 (stable)
* Fri Dec  5 2014 Remi Collet <remi at fedoraproject.org> - 2.0.0-1
- Update to 2.0.0
- add phpcbf and phpcs-svn-pre-commit commands
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  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 Project 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 package-announce mailing list