@@ -14,15 +14,15 @@ http://pear.php.net/dtd/package-2.0.xsd">
14
14
15
15
<active >yes</active >
16
16
</lead >
17
- <date >2014-11-07 </date >
18
- <time >08:18 :00</time >
17
+ <date >2014-12-05 </date >
18
+ <time >09:52 :00</time >
19
19
<version >
20
- <release >2.0.0RC5 </release >
21
- <api >2.0.0RC5 </api >
20
+ <release >2.0.0 </release >
21
+ <api >2.0.0 </api >
22
22
</version >
23
23
<stability >
24
- <release >beta </release >
25
- <api >beta </api >
24
+ <release >stable </release >
25
+ <api >stable </api >
26
26
</stability >
27
27
<license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD 3-Clause License</license >
28
28
<notes >
@@ -2314,6 +2314,49 @@ http://pear.php.net/dtd/package-2.0.xsd">
2314
2314
</filelist >
2315
2315
</phprelease >
2316
2316
<changelog >
2317
+ <release >
2318
+ <version >
2319
+ <release >2.0.0</release >
2320
+ <api >2.0.0</api >
2321
+ </version >
2322
+ <stability >
2323
+ <release >stable</release >
2324
+ <api >stable</api >
2325
+ </stability >
2326
+ <date >2014-12-05</date >
2327
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2328
+ <notes >
2329
+ - JS tokenizer now sets functions as T_CLOSUREs if the function is anonymous
2330
+ - JS tokenizer now sets all objects to T_OBJECT
2331
+ -- Object end braces are set to a new token T_CLOSE_OBJECT
2332
+ -- T_OBJECT tokens no longer act like scopes; i.e., they have no condition/opener/closer
2333
+ -- T_PROPERTY tokens no longer act like scopes; i.e., they have no condition/opener/closer
2334
+ -- T_OBJECT tokens have a bracket_closer instead, which can be used to find the ending
2335
+ -- T_CLOSE_OBJECT tokens have a bracket_opener
2336
+ - Improved regular expression detection in the JS tokenizer
2337
+ - You can now get PHP_CodeSniffer to ignore a single line by putting @codingStandardsIgnoreLine in a comment
2338
+ -- When the comment is found, the comment line and the following line will be ignored
2339
+ -- Thanks to Andy Bulford for the contribution
2340
+ - PHPCBF now prints output when it is changing into directories
2341
+ - Improved conflict detection during auto fixing
2342
+ - The -vvv command line argument will now output the current file content for each loop during fixing
2343
+ - Generic ScopeIndentSniff now checks that open/close PHP tags are aligned to the correct column
2344
+ - PEAR FunctionCallSignatureSniff now checks indent of closing parenthesis even if it is not on a line by itself
2345
+ - PEAR FunctionCallSignatureSniff now supports JS files
2346
+ - PEAR MultiLineConditionSniff now supports JS files
2347
+ - Squiz DocCommentAlignmentSniff now supports JS files
2348
+ - Fixed a problem correcting the closing brace line in Squiz ArrayDeclarationSniff
2349
+ - Fixed a problem auto-fixing the Squiz.WhiteSpace.FunctionClosingBraceSpace.SpacingBeforeNestedClose error
2350
+ - Squiz EmbeddedPhpSniff no longer reports incorrect alignment of tags when they are not on new lines
2351
+ - Squiz EmbeddedPhpSniff now aligns open tags correctly when moving them onto a new line
2352
+ - Improved fixing of arrays with multiple values in Squiz ArrayDeclarationSniff
2353
+ - Improved detection of function comments in Squiz FunctionCommentSpacingSniff
2354
+ - Improved fixing of lines after cases statements in Squiz SwitchDeclarationSniff
2355
+ - Fixed bug #311 : Suppression of function prototype breaks checking of lines within function
2356
+ - Fixed bug #320 : Code sniffer identation issue
2357
+ - Fixed bug #333 : Nested ternary operators causing problems
2358
+ </notes >
2359
+ </release >
2317
2360
<release >
2318
2361
<version >
2319
2362
<release >2.0.0RC4</release >
@@ -2658,6 +2701,36 @@ http://pear.php.net/dtd/package-2.0.xsd">
2658
2701
- Removed MySource ChannelExceptionSniff
2659
2702
</notes >
2660
2703
</release >
2704
+ <release >
2705
+ <version >
2706
+ <release >1.5.6</release >
2707
+ <api >1.5.6</api >
2708
+ </version >
2709
+ <stability >
2710
+ <release >stable</release >
2711
+ <api >stable</api >
2712
+ </stability >
2713
+ <date >2014-12-05</date >
2714
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2715
+ <notes >
2716
+ - JS tokenizer now detects xor statements correctly
2717
+ - The --config-show command now pretty-prints the config values
2718
+ -- Thanks to Ken Guest for the patch
2719
+ - Setting and removing config values now catches exceptions if the config file is not writable
2720
+ -- Thanks to Ken Guest for the patch
2721
+ - Setting and removing config values now prints a message to confirm the action and show old values
2722
+ - You can now get PHP_CodeSniffer to ignore a single line by putting @codingStandardsIgnoreLine in a comment
2723
+ -- When the comment is found, the comment line and the following line will be ignored
2724
+ -- Thanks to Andy Bulford for the contribution
2725
+ - Generic ConstructorNameSniff no longer errors for PHP4 style constructors when __construct() is present
2726
+ -- Thanks to Thibaud Fabre for the patch
2727
+ - Fixed bug #280 : The --config-show option generates error when there is no config file
2728
+ - Fixed bug #306 : File containing only a namespace declaration raises undefined index notice
2729
+ - Fixed bug #308 : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
2730
+ - Fixed bug #310 : Variadics not recognized by tokenizer
2731
+ - Fixed bug #311 : Suppression of function prototype breaks checking of lines within function
2732
+ </notes >
2733
+ </release >
2661
2734
<release >
2662
2735
<version >
2663
2736
<release >1.5.5</release >
0 commit comments