Fedora 22 Update: php-pear-PHP-CodeSniffer-2.3.2-1.fc22

updates at fedoraproject.org updates at fedoraproject.org
Fri May 8 07:30:57 UTC 2015


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2015-6810
2015-04-24 17:58:59
--------------------------------------------------------------------------------

Name        : php-pear-PHP-CodeSniffer
Product     : Fedora 22
Version     : 2.3.2
Release     : 1.fc22
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:

**Version 2.3.1**
* PHPCS can now exit with 0 even if errors are found. Set the ignore_errors_on_exit config variable to 1 to set this behaviour .Use with the ignore_warnings_on_exit config variable to never return a non-zero exit code
* Added Generic DisallowLongArraySyntaxSniff to enforce the use of the PHP short array syntax (request #483) Thanks to Xaver Loppenstedt for helping with tests
Added Generic DisallowShortArraySyntaxSniff to ban the use of the PHP short array syntax (request #483) Thanks to Xaver Loppenstedt for helping with tests
* Generic ScopeIndentSniff no longer does exact checking for content inside parenthesis (request #528) Only applies to custom coding standards that set the "exact" flag to TRUE
* Squiz ConcatenationSpacingSniff now has a setting to ignore newline characters around operators (request #511) Default remains FALSE, so newlines are not allowed. Override the "ignoreNewlines" setting in a ruleset.xml file to change.
* Squiz InlineCommentSniff no longer checks the last char of a comment if the first char is not a letter (request #505)
* The Squiz standard has increased the max padding for statement alignment from 12 to 20
* Fixed bug #479 : Yielded values are not recognised as returned values in Squiz FunctionComment sniff
* Fixed bug #512 : Endless loop whilst parsing mixture of control structure styles
* Fixed bug #515 : Spaces in JS block incorrectly flagged as indentation error
* Fixed bug #523 : Generic ScopeIndent errors for IF in FINALLY
* Fixed bug #527 : Closure inside IF statement is not tokenized correctly
* Fixed bug #529 : Squiz.Strings.EchoedStrings gives false positive when echo'ing using an inline condition
* Fixed bug #537 : Using --config-set is breaking phpcs.phar
* Fixed bug #543 : SWITCH with closure in condition generates inline control structure error
* Fixed bug #551 : Multiple catch blocks not checked in Squiz.ControlStructures.ControlSignature sniff
* Fixed bug #554 : ScopeIndentSniff causes errors when encountering an unmatched parenthesis
* Fixed bug #558 : PHPCBF adds brace for ELSE IF split over multiple lines
* Fixed bug #564 : Generic MultipleStatementAlignment sniff reports incorrect errors for multiple assignments on a single line


**Version 2.3.2**
* 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
--------------------------------------------------------------------------------

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