@@ -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 >2016-05-31 </date >
18
- <time >10:19 :00</time >
17
+ <date >2016-07-14 </date >
18
+ <time >09:28 :00</time >
19
19
<version >
20
20
<release >2.6.2</release >
21
21
<api >2.6.2</api >
@@ -2396,6 +2396,48 @@ http://pear.php.net/dtd/package-2.0.xsd">
2396
2396
</filelist >
2397
2397
</phprelease >
2398
2398
<changelog >
2399
+ <release >
2400
+ <version >
2401
+ <release >2.6.2</release >
2402
+ <api >2.6.2</api >
2403
+ </version >
2404
+ <stability >
2405
+ <release >stable</release >
2406
+ <api >stable</api >
2407
+ </stability >
2408
+ <date >2016-07-14</date >
2409
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2410
+ <notes >
2411
+ - Added a new --exclude CLI argument to exclude a list of sniffs from checking and fixing (request #904)
2412
+ -- Accepts the same sniff codes as the --sniffs command line argument, but provides the opposite functionality
2413
+ - Added a new -q command line argument to disable progress and verbose information from being printed (request #969)
2414
+ -- Useful if a coding standard hard-codes progess or verbose output but you want PHPCS to be quiet
2415
+ -- Use the command "phpcs --config-set quiet true" to turn quiet mode on by default
2416
+ - Generic LineLength sniff no longer errors for comments that cannot be broken out onto a new line (request #766)
2417
+ -- A typical case is a comment that contains a very long URL
2418
+ -- The comment is ignored if putting the URL on a indented new comment line would be longer than the allowed length
2419
+ - Settings extensions in a ruleset no longer causes PHP notices during unit testing
2420
+ -- Thanks to Klaus Purer for the patch
2421
+ - Version control reports now show which errors are fixable if you are showing sources
2422
+ - Added a new sniff to enforce a single space after a NOT operator (request #1051)
2423
+ -- Include in a ruleset using the code Generic.Formatting.SpaceAfterNot
2424
+ - The Squiz.Commenting.BlockComment sniff now supports tabs for indenting comment lines (request #1056)
2425
+ - Fixed bug #790 : Incorrect missing @throws error in methods that use closures
2426
+ - Fixed bug #908 : PSR2 standard is not checking that closing brace is on line following the body
2427
+ - Fixed bug #945 : Incorrect indent behavior using deep-nested function and arrays
2428
+ - Fixed bug #961 : Two anonymous functions passed as function/method arguments cause indentation false positive
2429
+ - Fixed bug #1005 : Using global composer vendor autoload breaks PHP lowercase built-in function sniff
2430
+ -- Thanks to Michael Butler for the patch
2431
+ - Fixed bug #1007 : Squiz Unreachable code detection is not working properly with a closure inside a case
2432
+ - Fixed bug #1023 : PSR2.Classes.ClassDeclaration fails if class extends base class and "implements" is on trailing line
2433
+ - Fixed bug #1026 : Arrays in comma delimited class properties cause ScopeIndent to increase indent
2434
+ - Fixed bug #1028 : Squiz ArrayDeclaration incorrectly fixes multi-line array where end bracket is not on a new line
2435
+ - Fixed bug #1034 : Squiz FunctionDeclarationArgumentSpacing gives incorrect error when first arg is a variadic
2436
+ - Fixed bug #1036 : Adjacent assignments aligned analysis statement wrong
2437
+ - Fixed bug #1049 : Version control reports can show notices when the report width is very small
2438
+ - Fixed bug #21050 : PEAR MultiLineCondition sniff suppresses errors on last condition line
2439
+ </notes >
2440
+ </release >
2399
2441
<release >
2400
2442
<version >
2401
2443
<release >2.6.1</release >
0 commit comments