@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
14141515 <active >yes</active >
1616 </lead >
17- <date >2014-08-06 </date >
18- <time >09:58 :00</time >
17+ <date >2014-09-26 </date >
18+ <time >08:36 :00</time >
1919 <version >
2020 <release >2.0.0RC2</release >
2121 <api >2.0.0RC2</api >
@@ -2288,6 +2288,75 @@ http://pear.php.net/dtd/package-2.0.xsd">
22882288 </filelist >
22892289 </phprelease >
22902290 <changelog >
2291+ <release >
2292+ <version >
2293+ <release >2.0.0RC2</release >
2294+ <api >2.0.0RC2</api >
2295+ </version >
2296+ <stability >
2297+ <release >beta</release >
2298+ <api >beta</api >
2299+ </stability >
2300+ <date >2014-09-26</date >
2301+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2302+ <notes >
2303+ - Minified JS and CSS files are now detected and skipped (fixes bug #252 and bug #19899)
2304+ -- A warning will be added to the file so it can be found in the report and ignored in the future
2305+ - Fixed incorrect length of JS object operator tokens
2306+ - PHP tokenizer no longer converts class/function names to special tokens types
2307+ -- Class/function names such as parent and true would become special tokens such as T_PARENT and T_TRUE
2308+ - PHPCS can now exit with 0 if only warnings were found (request #262)
2309+ -- Set the ignore_warnings_on_exit config variable to 1 to set this behaviour
2310+ -- Default remains at exiting with 0 only if no errors and no warnings were found
2311+ -- Also changes return value of PHP_CodeSniffer_Reporting::printReport()
2312+ - Rulesets can now set associative array properties
2313+ -- property name="[property]" type="array" value="foo=>bar,baz=>qux"
2314+ - Generic ForbiddenFunctionsSniff now has a public property called forbiddenFunctions (request #263)
2315+ -- Override the property in a ruleset.xml file to define forbidden functions and their replacements
2316+ -- A replacement of NULL indicates that no replacement is available
2317+ -- e.g., value="delete=>unset,print=>echo,create_function=>null"
2318+ -- Custom sniffs overriding this one will need to change the visbility of their member var
2319+ - Improved closure support in Generic ScopeIndentSniff
2320+ - Improved indented PHP tag support in Generic ScopeIndentSniff
2321+ - Improved fixing of mixed line indents in Generic ScopeIndentSniff
2322+ - Added conflict detection to the file fixer
2323+ -- If 2 sniffs look to be conflicting, one change will be ignored to allow a fix to occur
2324+ - Generic CamelCapsFunctionNameSniff now ignores a single leading underscore
2325+ -- Thanks to Alex Slobodiskiy for the patch
2326+ - Standards can now be located within hidden directories (further fix for bug #20323)
2327+ -- Thanks to Klaus Purer for the patch
2328+ - Sniff ignore patterns now replace Win dir separators like file ignore patterns already did
2329+ - Exclude patterns now use backtick delimiters, allowing all special characters to work correctly again
2330+ -- Thanks to Jeremy Edgell for the patch
2331+ - Errors converted to warnings in a ruleset (and vice versa) now retain their fixable status
2332+ -- Thanks to Alexander Obuhovich for the patch
2333+ - Squiz ConcatenationSpacingSniff now has a setting to specify how many spaces there should around concat operators
2334+ -- Default remains at 0
2335+ -- Override the "spacing" setting in a ruleset.xml file to change
2336+ - Added auto-fixes for Squiz InlineCommentSniff
2337+ - Generic DocCommentSniff now correctly fixes additional blank lines at the end of a comment
2338+ - Squiz OperatorBracketSniff now correctly fixes operations that include arrays
2339+ - Zend ClosingTagSniff fix now correctly leaves closing tags when followed by HTML
2340+ - Added Generic SyntaxSniff to check for syntax errors in PHP files
2341+ -- Thanks to Blaine Schmeisser for the contribution
2342+ - Added Generic OneTraitPerFileSniff to check that only one trait is defined in each file
2343+ -- Thanks to Alexander Obuhovich for the contribution
2344+ - Squiz DiscouragedFunctionsSniff now warns about var_dump()
2345+ - PEAR ValidFunctionNameSniff no longer throws an error for _()
2346+ - Squiz and PEAR FunctionCommentSniffs now support _()
2347+ - Generic DisallowTabIndentSniff now checks for, and fixes, mixed indents again
2348+ - Generic UpperCaseConstantSniff and LowerCaseConstantSniff now ignore function names
2349+ - Fixed bug #243 : Missing DocBlock not detected
2350+ - Fixed bug #248 : FunctionCommentSniff expects ampersand on param name
2351+ - Fixed bug #265 : False positives with type hints in ForbiddenFunctionsSniff
2352+ - Fixed bug #20373 : Inline comment sniff tab handling way
2353+ - Fixed bug #20377 : Error when trying to execute phpcs with report=json
2354+ - Fixed bug #20378 : Report appended to existing file if no errors found in run
2355+ - Fixed bug #20381 : Invalid "Comment closer must be on a new line"
2356+ -- Thanks to Brad Kent for the patch
2357+ - Fixed bug #20402 : SVN pre-commit hook fails due to unknown argument error
2358+ </notes >
2359+ </release >
22912360 <release >
22922361 <version >
22932362 <release >2.0.0RC1</release >
@@ -2487,6 +2556,41 @@ http://pear.php.net/dtd/package-2.0.xsd">
24872556 - Removed MySource ChannelExceptionSniff
24882557 </notes >
24892558 </release >
2559+ <release >
2560+ <version >
2561+ <release >1.5.5</release >
2562+ <api >1.5.5</api >
2563+ </version >
2564+ <stability >
2565+ <release >stable</release >
2566+ <api >stable</api >
2567+ </stability >
2568+ <date >2014-09-25</date >
2569+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2570+ <notes >
2571+ - PHP tokenizer no longer converts class/function names to special tokens types
2572+ -- Class/function names such as parent and true would become special tokens such as T_PARENT and T_TRUE
2573+ - Improved closure support in Generic ScopeIndentSniff
2574+ - Improved indented PHP tag support in Generic ScopeIndentSniff
2575+ - Generic CamelCapsFunctionNameSniff now ignores a single leading underscore
2576+ -- Thanks to Alex Slobodiskiy for the patch
2577+ - Standards can now be located within hidden directories (further fix for bug #20323)
2578+ -- Thanks to Klaus Purer for the patch
2579+ - Added Generic SyntaxSniff to check for syntax errors in PHP files
2580+ -- Thanks to Blaine Schmeisser for the contribution
2581+ - Squiz DiscouragedFunctionsSniff now warns about var_dump()
2582+ - PEAR ValidFunctionNameSniff no longer throws an error for _()
2583+ - Squiz and PEAR FunctionCommentSnif now support _()
2584+ - Generic UpperCaseConstantSniff and LowerCaseConstantSniff now ignore function names
2585+ - Fixed bug #248 : FunctionCommentSniff expects ampersand on param name
2586+ - Fixed bug #265 : False positives with type hints in ForbiddenFunctionsSniff
2587+ - Fixed bug #20373 : Inline comment sniff tab handling way
2588+ - Fixed bug #20378 : Report appended to existing file if no errors found in run
2589+ - Fixed bug #20381 : Invalid "Comment closer must be on a new line"
2590+ -- Thanks to Brad Kent for the patch
2591+ - Fixed bug #20386 : Squiz.Commenting.ClassComment.SpacingBefore thrown if first block comment
2592+ </notes >
2593+ </release >
24902594 <release >
24912595 <version >
24922596 <release >1.5.4</release >
0 commit comments