@@ -2375,6 +2375,47 @@ http://pear.php.net/dtd/package-2.0.xsd">
2375
2375
</filelist >
2376
2376
</phprelease >
2377
2377
<changelog >
2378
+ <release >
2379
+ <version >
2380
+ <release >2.6.1</release >
2381
+ <api >2.6.1</api >
2382
+ </version >
2383
+ <stability >
2384
+ <release >stable</release >
2385
+ <api >stable</api >
2386
+ </stability >
2387
+ <date >2016-05-31</date >
2388
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2389
+ <notes >
2390
+ - The PHP-supplied T_COALESCE token has been replicated for PHP versions before 7.0
2391
+ - Function return types of self, parent and callable are now tokenized as T_RETURN_TYPE
2392
+ -- Thanks to Jaroslav Hanslík for the patch
2393
+ - The default_standard config setting now allows multiple standards to be listed, like on the command line
2394
+ -- Thanks to Michael Mayer for the patch
2395
+ - Installations done via composer now only include the composer autoloader for PHP 5.3.2+ (request #942)
2396
+ - Added a rollbackChangeset() method to the Fixer class to purposely rollback the active changeset
2397
+ - Fixed bug #940 : Auto-fixing issue encountered with inconsistent use of braces
2398
+ - Fixed bug #943 : Squiz.PHP.InnerFunctions.NotAllowed reported in anonymous classes
2399
+ - Fixed bug #944 : PHP warning when running the latest phar
2400
+ - Fixed bug #951 : InlineIfDeclaration: invalid error produced with UTF-8 string
2401
+ - Fixed bug #957 : Operator spacing sniff errors when plus is used as part of a number
2402
+ -- Thanks to Klaus Purer for the patch
2403
+ - Fixed bug #959 : Call-time pass-by-reference false positive if there is a square bracket before the ampersand
2404
+ -- Thanks to Konstantin Leboev for the patch
2405
+ - Fixed bug #962 : Null coalescing operator (??) not detected as a token
2406
+ -- Thanks to Joel Posti for the patch
2407
+ - Fixed bug #973 : Anonymous class declaration and PSR1.Files.SideEffects.FoundWithSymbols
2408
+ - Fixed bug #974 : Error when file ends with "function"
2409
+ - Fixed bug #979 : Anonymous function with return type hint is not refactored as expected
2410
+ - Fixed bug #983 : Squiz.WhiteSpace.MemberVarSpacing.AfterComment fails to fix error when comment is not a docblock
2411
+ - Fixed bug #1010 : Squiz NonExectuableCode sniff does not detect boolean OR
2412
+ -- Thanks to Derek Henderson for the patch
2413
+ - Fixed bug #1015 : The Squiz.Commenting.FunctionComment sniff doesn't allow description in @return tag
2414
+ -- Thanks to Alexander Obuhovich for the patch
2415
+ - Fixed bug #1022 : Duplicate spaces after opening bracket error with PSR2 standard
2416
+ - Fixed bug #1025 : Syntax error in JS file can cause undefined index for parenthesis_closer
2417
+ </notes >
2418
+ </release >
2378
2419
<release >
2379
2420
<version >
2380
2421
<release >2.6.0</release >
0 commit comments