@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
14
14
15
15
<active>yes</active>
16
16
</lead>
17
- <date>2020-04-17 </date>
18
- <time>11:07 :00</time>
17
+ <date>2020-08-10 </date>
18
+ <time>14:49 :00</time>
19
19
<version>
20
20
<release>3.5.6</release>
21
21
<api>3.5.6</api>
@@ -2071,6 +2071,49 @@ http://pear.php.net/dtd/package-2.0.xsd">
2071
2071
</filelist>
2072
2072
</phprelease>
2073
2073
<changelog>
2074
+ <release>
2075
+ <version>
2076
+ <release>3.5.6</release>
2077
+ <api>3.5.6</api>
2078
+ </version>
2079
+ <stability>
2080
+ <release>stable</release>
2081
+ <api>stable</api>
2082
+ </stability>
2083
+ <date>2020-08-10</date>
2084
+ <license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
2085
+ <notes>
2086
+ - Added support for PHP 8.0 magic constant dereferencing
2087
+ -- Thanks to Juliette Reinders Folmer for the patch
2088
+ - Added support for changes to the way PHP 8.0 tokenizes comments
2089
+ -- The existing PHP 5-7 behaviour has been replicated for version 8, so no sniff changes are required
2090
+ -- Thanks to Juliette Reinders Folmer for the patch
2091
+ - File::getMethodProperties() now detects the PHP 8.0 static return type
2092
+ -- Thanks to Juliette Reinders Folmer for the patch
2093
+ - The PHP 8.0 static return type is now supported for arrow functions
2094
+ -- Thanks to Juliette Reinders Folmer for the patch
2095
+ - The cache is no longer used if the list of loaded PHP extensions changes
2096
+ -- Thanks to Juliette Reinders Folmer for the patch
2097
+ - Generic.NamingConventions.CamelCapsFunctionName no longer reports __serialize and __unserialize as invalid names
2098
+ -- Thanks to Filip Š for the patch
2099
+ - PEAR.NamingConventions.ValidFunctionName no longer reports __serialize and __unserialize as invalid names
2100
+ -- Thanks to Filip Š for the patch
2101
+ - Squiz.Scope.StaticThisUsage now detects usage of $this inside closures and arrow Functions
2102
+ -- Thanks to Michał Bundyra for the patch
2103
+ - Fixed bug #2877 : PEAR.Functions.FunctionCallSignature false positive for array of functions
2104
+ -- Thanks to Vincent Langlet for the patch
2105
+ - Fixed bug #2888 : PSR12.Files.FileHeader blank line error with multiple namespaces in one file
2106
+ - Fixed bug #2926 : phpcs hangs when using arrow functions that return heredoc
2107
+ - Fixed bug #2943 : Redundant semicolon added to a file when fixing PSR2.Files.ClosingTag.NotAllowed
2108
+ - Fixed bug #2967 : Markdown generator does not output headings correctly
2109
+ -- Thanks to Petr Bugyík for the patch
2110
+ - Fixed bug #2977 : File::isReference() does not detect return by reference for closures
2111
+ -- Thanks to Juliette Reinders Folmer for the patch
2112
+ - Fixed bug #2994 : Generic.Formatting.DisallowMultipleStatements false positive for FOR loop with no body
2113
+ - Fixed bug #3033 : Error generated during tokenizing of goto statements on PHP 8
2114
+ -- Thanks to Juliette Reinders Folmer for the patch
2115
+ </notes>
2116
+ </release>
2074
2117
<release>
2075
2118
<version>
2076
2119
<release>3.5.5</release>
0 commit comments