@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
14141515 <active>yes</active>
1616 </lead>
17- <date>2020-08-10 </date>
18- <time>14:49 :00</time>
17+ <date>2020-10-23 </date>
18+ <time>08:08 :00</time>
1919 <version>
2020 <release>3.5.7</release>
2121 <api>3.5.7</api>
@@ -2136,6 +2136,71 @@ http://pear.php.net/dtd/package-2.0.xsd">
21362136 </filelist>
21372137 </phprelease>
21382138 <changelog>
2139+ <release>
2140+ <version>
2141+ <release>3.5.7</release>
2142+ <api>3.5.7</api>
2143+ </version>
2144+ <stability>
2145+ <release>stable</release>
2146+ <api>stable</api>
2147+ </stability>
2148+ <date>2020-10-23</date>
2149+ <license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
2150+ <notes>
2151+ - The PHP 8.0 T_NULLSAFE_OBJECT_OPERATOR token has been made available for older versions
2152+ -- Existing sniffs that check for T_OBJECT_OPERATOR have been modified to apply the same rules for the nullsafe object operator
2153+ -- Thanks to Juliette Reinders Folmer for the patch
2154+ - The new method of PHP 8.0 tokenizing for namespaced names has been revert to thr pre 8.0 method
2155+ -- This maintains backwards compatible for existing sniffs on PHP 8.0
2156+ -- This change will be removed in PHPCS 4.0 as the PHP 8.0 tokenizing method will be backported for pre 8.0 versions
2157+ -- Thanks to Juliette Reinders Folmer for the patch
2158+ - Added support for changes to the way PHP 8.0 tokenizes hash comments
2159+ -- The existing PHP 5-7 behaviour has been replicated for version 8, so no sniff changes are required
2160+ -- Thanks to Juliette Reinders Folmer for the patch
2161+ - The autoloader has been changed to fix sniff class name detection issues that may occur when running on PHP 7.4+
2162+ -- Thanks to Eloy Lafuente for the patch
2163+ - Running the unit tests now includes warnings in the found and fixable error code counts
2164+ -- Thanks to Juliette Reinders Folmer for the patch
2165+ - PSR12.ControlStructures.BooleanOperatorPlacement.FoundMixed error message is now more accurate when using the allowOnly setting
2166+ -- Thanks to Vincent Langlet for the patch
2167+ - PSR12.Functions.NullableTypeDeclaration now supports the PHP8 static return type
2168+ -- Thanks to Juliette Reinders Folmer for the patch
2169+ - Fixed Squiz.Formatting.OperatorBracket false positive when exiting with a negative number
2170+ - Fixed Squiz.PHP.DisallowComparisonAssignment false positive for methods called on an object
2171+ - Fixed bug #2882 : Generic.Arrays.ArrayIndent can request close brace indent to be less than the statement indent level
2172+ - Fixed bug #2883 : Generic.WhiteSpace.ScopeIndent.Incorrect issue after NOWDOC
2173+ - Fixed bug #2975 : Undefined offset in PSR12.Functions.ReturnTypeDeclaration when checking function return type inside ternary
2174+ - Fixed bug #2988 : Undefined offset in Squiz.Strings.ConcatenationSpacing during live coding
2175+ -- Thanks to Thiemo Kreuz for the patch
2176+ - Fixed bug #2989 : Incorrect auto-fixing in Generic.ControlStructures.InlineControlStructure during live coding
2177+ -- Thanks to Thiemo Kreuz for the patch
2178+ - Fixed bug #3007 : Directory exclude pattern improperly excludes directories with names that start the same
2179+ -- Thanks to Steve Talbot for the patch
2180+ - Fixed bug #3043 : Squiz.WhiteSpace.OperatorSpacing false positive for negation in arrow function
2181+ -- Thanks to Juliette Reinders Folmer for the patch
2182+ - Fixed bug #3049 : Incorrect error with arrow function and parameter passed as reference
2183+ -- Thanks to Juliette Reinders Folmer for the patch
2184+ - Fixed bug #3053 : PSR2 incorrect fix when multiple use statements on same line do not have whitespace between them
2185+ - Fixed bug #3058 : Progress gets unaligned when 100% happens at the end of the available dots
2186+ - Fixed bug #3059 : Squiz.Arrays.ArrayDeclaration false positive when using type casting
2187+ -- Thanks to Sergei Morozov for the patch
2188+ - Fixed bug #3060 : Squiz.Arrays.ArrayDeclaration false positive for static functions
2189+ -- Thanks to Sergei Morozov for the patch
2190+ - Fixed bug #3065 : Should not fix Squiz.Arrays.ArrayDeclaration.SpaceBeforeComma if comment between element and comma
2191+ -- Thanks to Sergei Morozov for the patch
2192+ - Fixed bug #3066 : No support for namespace operator used in type declarations
2193+ -- Thanks to Juliette Reinders Folmer for the patch
2194+ - Fixed bug #3075 : PSR12.ControlStructures.BooleanOperatorPlacement false positive when operator is the only content on line
2195+ - Fixed bug #3099 : Squiz.WhiteSpace.OperatorSpacing false positive when exiting with negative number
2196+ -- Thanks to Sergei Morozov for the patch
2197+ - Fixed bug #3102 : PSR12.Squiz.OperatorSpacing false positive for default values of arrow functions
2198+ -- Thanks to Juliette Reinders Folmer for the patch
2199+ - Fixed bug #3124 : PSR-12 not reporting error for empty lines with only whitespace
2200+ - Fixed bug #3135 : Ignore annotations are broken on PHP 8.0
2201+ -- Thanks to Juliette Reinders Folmer for the patch
2202+ </notes>
2203+ </release>
21392204 <release>
21402205 <version>
21412206 <release>3.5.6</release>
0 commit comments