@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
14
14
15
15
<active >yes</active >
16
16
</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 >
19
19
<version >
20
20
<release >2.5.0</release >
21
21
<api >2.5.0</api >
@@ -35,7 +35,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
35
35
-- Setting the value of the new ini tags to name="memory_limit" value="32M" is the same as -d memory_limit=32M
36
36
- Added support for one or more bootstrap files to be run before processing begins
37
37
-- 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
39
39
-- Thanks to John Maguire for the patch
40
40
- Added additional verbose output for CSS tokenizing
41
41
- Squiz ComparisonOperatorUsageSniff now checks FOR, WHILE and DO-WHILE statements
@@ -2357,6 +2357,44 @@ http://pear.php.net/dtd/package-2.0.xsd">
2357
2357
</filelist >
2358
2358
</phprelease >
2359
2359
<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 >
2360
2398
<release >
2361
2399
<version >
2362
2400
<release >2.4.0</release >
@@ -2370,12 +2408,12 @@ http://pear.php.net/dtd/package-2.0.xsd">
2370
2408
<license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2371
2409
<notes >
2372
2410
- 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
2374
2412
- 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
2376
2414
- 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
2379
2417
- Traits are now tokenized in PHP versions before 5.4 to make testing easier
2380
2418
- Improved regular expression detection in JS files
2381
2419
- 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">
2387
2425
- Added more guard code for function declarations with syntax errors
2388
2426
-- Thanks to Yun Young-jin for the patch
2389
2427
- 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
2391
2429
- Added more guard code for class declarations with syntax errors
2392
2430
- Squiz ArrayDeclarationSniff now has guard code for arrays with syntax errors
2393
2431
- Generic InlineControlStructureSniff now correctly fixes ELSEIF statements
0 commit comments