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

updates at fedoraproject.org updates at fedoraproject.org
Sat Sep 19 21:54:13 UTC 2015

Fedora Update Notification
2015-09-19 18:50:38.379926

Name        : php-pear-PHP-CodeSniffer
Product     : Fedora 22
Version     : 2.3.4
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.4**  - JSON report format now includes the
fixable status for each error message and the total number of fixable errors -
Added more guard code for function declarations with syntax errors - Added
tokenizer support for the PHP declare construct. Thanks to Andy Blyler for the
patch - Generic UnnecessaryStringConcatSniff can now allow strings concatenated
over multiple lines. Set the allowMultiline property to TRUE (default is FALSE)
in your ruleset.xml file to enable this. By default, concat used only for
getting around line length limits still generates an error. Thanks to Stefan
Lenselink for the contribution. - Invalid byte sequences no longer throw
iconv_strlen() errors (request #639). Thanks to Willem Stuursma for the patch -
Generic TodoSniff and FixmeSniff are now better at processing strings with
invalid characters - PEAR FunctionCallSignatureSniff now ignores indentation of
inline HTML content - Squiz ControlSignatureSniff now supports control
structures with only inline HTML content - Fixed bug 636 : Some class names
cause CSS tokenizer to hang - Fixed bug 638 : VCS blame reports output error
content from the blame commands for files not under VC - Fixed bug 642 : Method
params incorrectly detected when default value uses short array syntax. Thanks
to Josh Davis for the patch - Fixed bug 644 : PEAR ScopeClosingBrace sniff does
not work with mixed HTML/PHP - Fixed bug 645 : FunctionSignature and ScopeIndent
sniffs don't detect indents correctly when PHP open tag is not on a line by
itself - Fixed bug 648 : Namespace not tokenized correctly when followed by
multiple use statements - Fixed bug 654 : Comments affect indent check for
BSDAllman brace style - Fixed bug 658 :
Squiz.Functions.FunctionDeclarationSpacing error for multi-line declarations
with required spaces greater than zero. Thanks to J.D. Grimes for the patch -
Fixed bug 663 : No space after class name generates: Class name "" is not in
camel caps format - Fixed bug 667 : Scope indent check can go into infinite loop
due to some parse errors - Fixed bug 670 : Endless loop in PSR1 SideEffects
sniffer if no semicolon after last statement. Thanks to Thomas Jarosch for the
patch - Fixed bug 672 : Call-time pass-by-reference false positive - Fixed bug
683 : Comments are incorrectly reported by
PSR2.ControlStructures.SwitchDeclaration sniff - Fixed bug 687 : ScopeIndent
does not check indent correctly for method prefixes like public and abstract -
Fixed bug 689 : False error on some comments after class closing brace

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 https://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

More information about the package-announce mailing list