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

updates at fedoraproject.org updates at fedoraproject.org
Mon Dec 28 23:59:40 UTC 2015

Fedora Update Notification
2015-12-28 19:19:48.671762

Name        : php-pear-PHP-CodeSniffer
Product     : Fedora 22
Version     : 2.5.0
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:**  - PHPCS will now look for a phpcs.xml file in parent
directories as well as the current directory (request #626) - PHPCS will now use
a phpcs.xml file even if files are specified on the command line. This file is
still only used if no standard is specified on the command line - Added support
for a phpcs.xml.dist file (request #583). If both a phpcs.xml and phpcs.xml.dist
file are present, the phpcs.xml file will be used - Added support for setting
PHP ini values in ruleset.xml files (request #560). Setting the value of the new
ini tags to name="memory_limit" value="32M" is the same as -d memory_limit=32M -
Added support for one or more bootstrap files to be run before processing
begins. Use the --bootstrap=file,file,file command line argument to include
bootstrap files. Useful if you want to override some of the high-level settings
of PHPCS or PHPCBF. Thanks to John Maguire for the patch - Added additional
verbose output for CSS tokenizing - Squiz ComparisonOperatorUsageSniff now
checks FOR, WHILE and DO-WHILE statements. Thanks to Arnout Boks for the patch -
Fixed bug #660 : Syntax checks can fail on Windows with PHP5.6 - Fixed bug #784
: $this->trait is seen as a T_TRAIT token - Fixed bug #786 : Switch indent issue
with short array notation - Fixed bug #787 : SpacingAfterDefaultBreak confused
by multi-line statements - Fixed bug #797 : Parsing CSS url() value breaks
further parsing - Fixed bug #805 :
Squiz.Commenting.FunctionComment.InvalidTypeHint on Scalar types on PHP7 - Fixed
bug #807 : Cannot fix line endings when open PHP tag is not on the first line -
Fixed bug #808 : JS tokeniser incorrectly setting some function and class names
to control structure tokens - Fixed bug #809 : PHPCBF can break a require_once
statement with a space before the open parenthesis - Fixed bug #813 : PEAR
FunctionCallSignature checks wrong indent when first token on line is part of a
multi-line string

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