@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
14141515 <active >yes</active >
1616 </lead >
17- <date >2015-11-24 </date >
18- <time >08:26 :00</time >
17+ <date >2015-12-11 </date >
18+ <time >11:05 :00</time >
1919 <version >
2020 <release >2.5.0</release >
2121 <api >2.5.0</api >
@@ -35,7 +35,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
3535 -- Setting the value of the new ini tags to name="memory_limit" value="32M" is the same as -d memory_limit=32M
3636 - Added support for one or more bootstrap files to be run before processing begins
3737 -- Use the --bootstrap=file,file,file command line argument to include bootstrap files
38- -- Ueeful if you want to override some of the high-level settings of PHPCS or PHPCBF
38+ -- Useful if you want to override some of the high-level settings of PHPCS or PHPCBF
3939 -- Thanks to John Maguire for the patch
4040 - Added additional verbose output for CSS tokenizing
4141 - Squiz ComparisonOperatorUsageSniff now checks FOR, WHILE and DO-WHILE statements
@@ -2357,6 +2357,44 @@ http://pear.php.net/dtd/package-2.0.xsd">
23572357 </filelist >
23582358 </phprelease >
23592359 <changelog >
2360+ <release >
2361+ <version >
2362+ <release >2.5.0</release >
2363+ <api >2.5.0</api >
2364+ </version >
2365+ <stability >
2366+ <release >stable</release >
2367+ <api >stable</api >
2368+ </stability >
2369+ <date >2015-12-11</date >
2370+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2371+ <notes >
2372+ - PHPCS will now look for a phpcs.xml file in parent directories as well as the current directory (request #626)
2373+ - PHPCS will now use a phpcs.xml file even if files are specified on the command line
2374+ -- This file is still only used if no standard is specified on the command line
2375+ - Added support for a phpcs.xml.dist file (request #583)
2376+ -- If both a phpcs.xml and phpcs.xml.dist file are present, the phpcs.xml file will be used
2377+ - Added support for setting PHP ini values in ruleset.xml files (request #560)
2378+ -- Setting the value of the new ini tags to name="memory_limit" value="32M" is the same as -d memory_limit=32M
2379+ - Added support for one or more bootstrap files to be run before processing begins
2380+ -- Use the --bootstrap=file,file,file command line argument to include bootstrap files
2381+ -- Useful if you want to override some of the high-level settings of PHPCS or PHPCBF
2382+ -- Thanks to John Maguire for the patch
2383+ - Added additional verbose output for CSS tokenizing
2384+ - Squiz ComparisonOperatorUsageSniff now checks FOR, WHILE and DO-WHILE statements
2385+ -- Thanks to Arnout Boks for the patch
2386+ - Fixed bug #660 : Syntax checks can fail on Windows with PHP5.6
2387+ - Fixed bug #784 : $this->trait is seen as a T_TRAIT token
2388+ - Fixed bug #786 : Switch indent issue with short array notation
2389+ - Fixed bug #787 : SpacingAfterDefaultBreak confused by multi-line statements
2390+ - Fixed bug #797 : Parsing CSS url() value breaks further parsing
2391+ - Fixed bug #805 : Squiz.Commenting.FunctionComment.InvalidTypeHint on Scalar types on PHP7
2392+ - Fixed bug #807 : Cannot fix line endings when open PHP tag is not on the first line
2393+ - Fixed bug #808 : JS tokeniser incorrectly setting some function and class names to control structure tokens
2394+ - Fixed bug #809 : PHPCBF can break a require_once statement with a space before the open parenthesis
2395+ - Fixed bug #813 : PEAR FunctionCallSignature checks wrong indent when first token on line is part of a multi-line string
2396+ </notes >
2397+ </release >
23602398 <release >
23612399 <version >
23622400 <release >2.4.0</release >
@@ -2370,12 +2408,12 @@ http://pear.php.net/dtd/package-2.0.xsd">
23702408 <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
23712409 <notes >
23722410 - Added support for PHP 7 anonymous classes
2373- - Anonymous classes are now tokenized as T_ANON_CLASS and ignored by normal class sniffs
2411+ -- Anonymous classes are now tokenized as T_ANON_CLASS and ignored by normal class sniffs
23742412 - Added support for PHP 7 function return type declarations
2375- - Return types are now tokenized as T_RETURN_TYPE
2413+ -- Return types are now tokenized as T_RETURN_TYPE
23762414 - Fixed tokenizing of the XOR operator, which was incorrectly identified as a power operator (bug #765)
2377- - The T_POWER token has been removed and replaced by the T_BITWISE_XOR token
2378- - The PHP-supplied T_POW token has been replicated for PHP versions before 5.6
2415+ -- The T_POWER token has been removed and replaced by the T_BITWISE_XOR token
2416+ -- The PHP-supplied T_POW token has been replicated for PHP versions before 5.6
23792417 - Traits are now tokenized in PHP versions before 5.4 to make testing easier
23802418 - Improved regular expression detection in JS files
23812419 - PEAR FunctionCallSignatureSniff now properly detects indents in more mixed HTML/PHP code blocks
@@ -2387,7 +2425,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
23872425 - Added more guard code for function declarations with syntax errors
23882426 -- Thanks to Yun Young-jin for the patch
23892427 - Added more guard code for foreach declarations with syntax errors
2390- -- Thanks to Johan de Ruijter for the patch
2428+ -- Thanks to Johan de Ruijter for the patch
23912429 - Added more guard code for class declarations with syntax errors
23922430 - Squiz ArrayDeclarationSniff now has guard code for arrays with syntax errors
23932431 - Generic InlineControlStructureSniff now correctly fixes ELSEIF statements
0 commit comments