@@ -15,7 +15,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
15
15
<active >yes</active >
16
16
</lead >
17
17
<date >2013-04-04</date >
18
- <time >10:13 :00</time >
18
+ <time >10:19 :00</time >
19
19
<version >
20
20
<release >1.5.0RC2</release >
21
21
<api >1.5.0RC2</api >
@@ -2037,6 +2037,60 @@ http://pear.php.net/dtd/package-2.0.xsd">
2037
2037
</filelist >
2038
2038
</phprelease >
2039
2039
<changelog >
2040
+ <release >
2041
+ <version >
2042
+ <release >1.5.0RC2</release >
2043
+ <api >1.5.0RC2</api >
2044
+ </version >
2045
+ <stability >
2046
+ <release >beta</release >
2047
+ <api >beta</api >
2048
+ </stability >
2049
+ <date >2013-04-04</date >
2050
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2051
+ <notes >
2052
+ - Ruleset processing has been rewritten to be more predictable
2053
+ -- Provides much better support for relative paths inside ruleset files
2054
+ -- May mean that sniffs that were previously ignored are now being included when importing external rulesets
2055
+ -- Ruleset processing output can be seen by using the -vv command line argument
2056
+ -- Internal sniff registering functions have all changed, so please review custom scripts
2057
+ - You can now pass multiple coding standards on the command line, comma separated (request #19144)
2058
+ -- Works with built-in or custom standards and rulesets, or a mix of both
2059
+ - You can now exclude directories or whole standards in a ruleset XML file (request #19731)
2060
+ -- e.g., exclude "Generic.Commenting" or just "Generic"
2061
+ -- You can also pass in a path to a directory instead, if you know it
2062
+ - Added Generic LowerCaseKeywordSniff to ensure all PHP keywords are defined in lowercase
2063
+ -- The PSR2 and Squiz standards now use this sniff
2064
+ - Added Generic SAPIUsageSniff to ensure the PHP_SAPI constant is used instead of php_sapi_name() (request #19863)
2065
+ - Squiz FunctionSpacingSniff now has a setting to specify how many lines there should between functions (request #19843)
2066
+ -- Default remains at 2
2067
+ -- Override the "spacing" setting in a ruleset.xml file to change
2068
+ - Squiz LowercasePHPFunctionSniff no longer throws errors for the limited set of PHP keywords it was checking
2069
+ -- Add a rule for Generic.PHP.LowerCaseKeyword to your ruleset to replicate this functionality
2070
+ - Added support for the PHP 5.4 T_CALLABLE token so it can be used in lower PHP versions
2071
+ - Generic EndFileNoNewlineSniff now supports checking of CSS and JS files
2072
+ - PSR2 SwitchDeclarationSniff now has a setting to specify how many spaces code should be indented
2073
+ -- Default remains at 4; override the indent setting in a ruleset.xml file to change
2074
+ -- Thanks to Asher Snyder for the patch
2075
+ - Generic ScopeIndentSniff now has a setting to specify a list of tokens that should be ignored
2076
+ -- The first token on the line is checked and the whole line is ignored if the token is in the array
2077
+ -- Thanks to Eloy Lafuente for the patch
2078
+ - Squiz LowercaseClassKeywordsSniff now checks for the TRAIT keyword
2079
+ -- Thanks to Anthon Pang for the patch
2080
+ - If you create your own PHP_CodeSniffer object, PHPCS will no longer exit when an unknown argument is found
2081
+ -- This allows you to create wrapper scripts for PHPCS more easily
2082
+ - PSR2 MethodDeclarationSniff no longer generates a notice for methods named "_"
2083
+ -- Thanks to Bart S for the patch
2084
+ - Squiz BlockCommentSniff no longer reports that a blank line between a scope closer and block comment is invalid
2085
+ - Generic DuplicateClassNameSniff no longer reports an invalid error if multiple PHP open tags exist in a file
2086
+ - Generic DuplicateClassNameSniff no longer reports duplicate errors if multiple PHP open tags exist in a file
2087
+ - Fixed bug #19819 : Freeze with syntax error in use statement
2088
+ - Fixed bug #19820 : Wrong message level in Generic_Sniffs_CodeAnalysis_EmptyStatementSniff
2089
+ - Fixed bug #19859 : CodeSniffer::setIgnorePatterns API changed
2090
+ - Fixed bug #19871 : findExtendedClassName doesn't return FQCN on namespaced classes
2091
+ - Fixed bug #19879 : bitwise and operator interpreted as reference by value
2092
+ </notes >
2093
+ </release >
2040
2094
<release >
2041
2095
<version >
2042
2096
<release >1.5.0RC1</release >
0 commit comments