@@ -14,11 +14,11 @@ http://pear.php.net/dtd/package-2.0.xsd">
14
14
15
15
<active >yes</active >
16
16
</lead >
17
- <date >2012-08-08 </date >
18
- <time >10:29 :00</time >
17
+ <date >2012-09-26 </date >
18
+ <time >14:13 :00</time >
19
19
<version >
20
- <release >1.3.7 </release >
21
- <api >1.3.7 </api >
20
+ <release >1.4.0 </release >
21
+ <api >1.4.0 </api >
22
22
</version >
23
23
<stability >
24
24
<release >stable</release >
@@ -2017,6 +2017,45 @@ http://pear.php.net/dtd/package-2.0.xsd">
2017
2017
</filelist >
2018
2018
</phprelease >
2019
2019
<changelog >
2020
+ <release >
2021
+ <version >
2022
+ <release >1.4.0</release >
2023
+ <api >1.4.0</api >
2024
+ </version >
2025
+ <stability >
2026
+ <release >stable</release >
2027
+ <api >stable</api >
2028
+ </stability >
2029
+ <date >2012-09-26</date >
2030
+ <license uri =" http://matrix.squiz.net/developer/tools/php_cs/licence" >BSD License</license >
2031
+ <notes >
2032
+ - Added PSR1 and PSR2 coding standards that can be used to check your code against these guidelines
2033
+ - PHP 5.4 short array syntax is now detected and tokens are assigned to the open and close characters
2034
+ -- New tokens are T_OPEN_SHORT_ARRAY and T_CLOSE_SHORT_ARRAY as PHP does not define its own
2035
+ - Added the ability to explain a coding standard by listing the sniffs that it includes
2036
+ -- The sniff list includes all imported and native sniffs
2037
+ -- Explain a standard by using the -e and --standard=[standard] command line arguments
2038
+ -- E.g., phpcs -e --standard=Squiz
2039
+ -- Thanks to Ben Selby for the idea
2040
+ - Added report to show results using notify-send
2041
+ -- Use --report=notifysend to generate the report
2042
+ -- Thanks to Christian Weiske for the contribution
2043
+ - The JS tokenizer now recognises RETURN as a valid closer for CASE and DEFAULT inside switch statements
2044
+ - AbstractPatternSniff now sets the ignoreComments option using a public var rather than through the constructor
2045
+ -- This allows the setting to be overwritten in ruleset.xml files
2046
+ -- Old method remains for backwards compatibility
2047
+ - Generic LowerCaseConstantSniff and UpperCaseConstantSniff no longer report errors on classes named True, False or Null
2048
+ - PEAR ValidFunctionNameSniff no longer enforces exact case matching for PHP magic methods
2049
+ - Squiz SwitchDeclarationSniff now allows RETURN statements to close a CASE or DEFAULT statement
2050
+ - Squiz BlockCommentSniff now correctly reports an error for blank lines before blocks at the start of a control structure
2051
+ - Fixed a PHP notice generated when loading custom array settings from a rulset.xml file
2052
+ - Fixed bug #17908 : CodeSniffer does not recognise optional @params
2053
+ -- Thanks to Pete Walker for the patch
2054
+ - Fixed bug #19538 : Function indentation code sniffer checks inside short arrays
2055
+ - Fixed bug #19565 : Non-Executable Code Sniff Broken for Case Statements with both return and break
2056
+ - Fixed bug #19612 : Invalid @package suggestion
2057
+ </notes >
2058
+ </release >
2020
2059
<release >
2021
2060
<version >
2022
2061
<release >1.3.6</release >
0 commit comments