@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
14141515 <active >yes</active >
1616 </lead >
17- <date >2015-01-22 </date >
18- <time >09:42 :00</time >
17+ <date >2015-04-23 </date >
18+ <time >13:39 :00</time >
1919 <version >
2020 <release >2.3.1</release >
2121 <api >2.3.1</api >
@@ -2351,6 +2351,46 @@ http://pear.php.net/dtd/package-2.0.xsd">
23512351 </filelist >
23522352 </phprelease >
23532353 <changelog >
2354+ <release >
2355+ <version >
2356+ <release >2.3.1</release >
2357+ <api >2.3.1</api >
2358+ </version >
2359+ <stability >
2360+ <release >stable</release >
2361+ <api >stable</api >
2362+ </stability >
2363+ <date >2015-04-23</date >
2364+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2365+ <notes >
2366+ - PHPCS can now exit with 0 even if errors are found
2367+ -- Set the ignore_errors_on_exit config variable to 1 to set this behaviour
2368+ -- Use with the ignore_warnings_on_exit config variable to never return a non-zero exit code
2369+ - Added Generic DisallowLongArraySyntaxSniff to enforce the use of the PHP short array syntax (request #483)
2370+ -- Thanks to Xaver Loppenstedt for helping with tests
2371+ - Added Generic DisallowShortArraySyntaxSniff to ban the use of the PHP short array syntax (request #483)
2372+ -- Thanks to Xaver Loppenstedt for helping with tests
2373+ - Generic ScopeIndentSniff no longer does exact checking for content inside parenthesis (request #528)
2374+ -- Only applies to custom coding standards that set the "exact" flag to TRUE
2375+ - Squiz ConcatenationSpacingSniff now has a setting to ignore newline characters around operators (request #511)
2376+ -- Default remains FALSE, so newlines are not allowed
2377+ -- Override the "ignoreNewlines" setting in a ruleset.xml file to change
2378+ - Squiz InlineCommentSniff no longer checks the last char of a comment if the first char is not a letter (request #505)
2379+ - The Squiz standard has increased the max padding for statement alignment from 12 to 20
2380+ - Fixed bug #479 : Yielded values are not recognised as returned values in Squiz FunctionComment sniff
2381+ - Fixed bug #512 : Endless loop whilst parsing mixture of control structure styles
2382+ - Fixed bug #515 : Spaces in JS block incorrectly flagged as indentation error
2383+ - Fixed bug #523 : Generic ScopeIndent errors for IF in FINALLY
2384+ - Fixed bug #527 : Closure inside IF statement is not tokenized correctly
2385+ - Fixed bug #529 : Squiz.Strings.EchoedStrings gives false positive when echo'ing using an inline condition
2386+ - Fixed bug #537 : Using --config-set is breaking phpcs.phar
2387+ - Fixed bug #543 : SWITCH with closure in condition generates inline control structure error
2388+ - Fixed bug #551 : Multiple catch blocks not checked in Squiz.ControlStructures.ControlSignature sniff
2389+ - Fixed bug #554 : ScopeIndentSniff causes errors when encountering an unmatched parenthesis
2390+ - Fixed bug #558 : PHPCBF adds brace for ELSE IF split over multiple lines
2391+ - Fixed bug #564 : Generic MultipleStatementAlignment sniff reports incorrect errors for multiple assignments on a single line
2392+ </notes >
2393+ </release >
23542394 <release >
23552395 <version >
23562396 <release >2.3.0</release >
0 commit comments