@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
14141515 <active >yes</active >
1616 </lead >
17- <date >2012-09-26 </date >
18- <time >14:13 :00</time >
17+ <date >2012-11-02 </date >
18+ <time >10:08 :00</time >
1919 <version >
2020 <release >1.4.1</release >
2121 <api >1.4.1</api >
@@ -2077,6 +2077,61 @@ http://pear.php.net/dtd/package-2.0.xsd">
20772077 </filelist >
20782078 </phprelease >
20792079 <changelog >
2080+ <release >
2081+ <version >
2082+ <release >1.4.1</release >
2083+ <api >1.4.1</api >
2084+ </version >
2085+ <stability >
2086+ <release >stable</release >
2087+ <api >stable</api >
2088+ </stability >
2089+ <date >2012-11-02</date >
2090+ <license uri =" http://matrix.squiz.net/developer/tools/php_cs/licence" >BSD License</license >
2091+ <notes >
2092+ - All ignore patterns have been reverted to being checked against the absolute path of a file
2093+ -- Patterns can be specified to be relative in a rulset.xml file, but nowhere else
2094+ -- e.g., [exclude-pattern type="relative"]^tests/*[/exclude-pattern] (with angle brackets, not square brackets)
2095+ - Added support for PHP tokenizing of T_INLINE_ELSE colons, so this token type is now available
2096+ -- Custom sniffs that rely on looking for T_COLON tokens inside inline if statements must be changed to use the new token
2097+ -- Fixes bug #19666 : PSR1.Files.SideEffects throws a notice Undefined index: scope_closer
2098+ - Messages can now be changed from errors to warnings (and vice versa) inside ruleset.xml files
2099+ -- As you would with "message" and "severity", specify a "type" tag under a "rule" tag and set the value to "error" or "warning"
2100+ - PHP_CodeSniffer will now generate a warning on files that it detects have mixed line endings
2101+ -- This warning has the code Internal.LineEndings.Mixed and can be overriden in a ruleset.xml file
2102+ -- Thanks to Vit Brunner for help with this
2103+ - Sniffs inside PHP 5.3 namespaces are now supported, along with the existing underscore-style emulated namespaces
2104+ -- For example: namespace MyStandard\Sniffs\Arrays; class ArrayDeclarationSniff implements \PHP_CodeSniffer_Sniff { ...
2105+ -- Thanks to Till Klampaeckel for the patch
2106+ - Generic DuplicateClassNameSniff is no longer a multi-file sniff, so it won't max out your memory
2107+ -- Multi-file sniff support should be considered deprecated as standard sniffs can now do the same thing
2108+ - Added Generic DisallowSpaceIndent to check that files are indented using tabs
2109+ - Added Generic OneClassPerFileSniff to check that only one class is defined in each file
2110+ -- Thanks to Andy Grunwald for the contribution
2111+ - Added Generic OneInterfacePerFileSniff to check that only one interface is defined in each file
2112+ -- Thanks to Andy Grunwald for the contribution
2113+ - Added Generic LowercasedFilenameSniff to check that filenames are lowercase
2114+ -- Thanks to Andy Grunwald for the contribution
2115+ - Added Generic ClosingPHPTagSniff to check that each open PHP tag has a corresponding close tag
2116+ -- Thanks to Andy Grunwald for the contribution
2117+ - Added Generic CharacterBeforePHPOpeningTagSniff to check that the open PHP tag is the first content in a file
2118+ -- Thanks to Andy Grunwald for the contribution
2119+ - Fixed incorrect errors in Squiz OperatorBracketSniff and OperatorSpacingSniff for negative numbers in CASE statements
2120+ -- Thanks to Arnout Boks for the patch
2121+ - Generic CamelCapsFunctionNameSniff no longer enforces exact case matching for PHP magic methods
2122+ - Generic CamelCapsFunctionNameSniff no longer throws errors for overridden SOAPClient methods prefixed with double underscores
2123+ -- Thanks to Dorian Villet for the patch
2124+ - PEAR ValidFunctionNameSniff now supports traits
2125+ - PSR1 ClassDeclarationSniff no longer throws an error for non-namespaced code if PHP version is less than 5.3.0
2126+ - Fixed bug #19616 : Nested switches cause false error in PSR2
2127+ - Fixed bug #19629 : PSR2 error for inline comments on multi-line argument lists
2128+ - Fixed bug #19644 : Alternative syntax, e.g. if/endif triggers Inline Control Structure error
2129+ - Fixed bug #19655 : Closures reporting as multi-line when they are not
2130+ - Fixed bug #19675 : Improper indent of nested anonymous function bodies in a call
2131+ - Fixed bug #19685 : PSR2 catch-22 with empty third statement in for loop
2132+ - Fixed bug #19687 : Anonymous functions inside arrays marked as indented incorrectly in PSR2
2133+ </notes >
2134+ </release >
20802135 <release >
20812136 <version >
20822137 <release >1.4.0</release >
0 commit comments