Skip to content

Commit cee37ff

Browse files
committed
Changelog for #2975 + version bump
1 parent e866f6d commit cee37ff

File tree

2 files changed

+4
-32
lines changed

2 files changed

+4
-32
lines changed

package.xml

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -17,44 +17,16 @@ http://pear.php.net/dtd/package-2.0.xsd">
1717
<date>2020-08-10</date>
1818
<time>14:49:00</time>
1919
<version>
20-
<release>3.5.6</release>
21-
<api>3.5.6</api>
20+
<release>3.5.7</release>
21+
<api>3.5.7</api>
2222
</version>
2323
<stability>
2424
<release>stable</release>
2525
<api>stable</api>
2626
</stability>
2727
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
2828
<notes>
29-
- Added support for PHP 8.0 magic constant dereferencing
30-
-- Thanks to Juliette Reinders Folmer for the patch
31-
- Added support for changes to the way PHP 8.0 tokenizes comments
32-
-- The existing PHP 5-7 behaviour has been replicated for version 8, so no sniff changes are required
33-
-- Thanks to Juliette Reinders Folmer for the patch
34-
- File::getMethodProperties() now detects the PHP 8.0 static return type
35-
-- Thanks to Juliette Reinders Folmer for the patch
36-
- The PHP 8.0 static return type is now supported for arrow functions
37-
-- Thanks to Juliette Reinders Folmer for the patch
38-
- The cache is no longer used if the list of loaded PHP extensions changes
39-
-- Thanks to Juliette Reinders Folmer for the patch
40-
- Generic.NamingConventions.CamelCapsFunctionName no longer reports __serialize and __unserialize as invalid names
41-
-- Thanks to Filip Š for the patch
42-
- PEAR.NamingConventions.ValidFunctionName no longer reports __serialize and __unserialize as invalid names
43-
-- Thanks to Filip Š for the patch
44-
- Squiz.Scope.StaticThisUsage now detects usage of $this inside closures and arrow Functions
45-
-- Thanks to Michał Bundyra for the patch
46-
- Fixed bug #2877 : PEAR.Functions.FunctionCallSignature false positive for array of functions
47-
-- Thanks to Vincent Langlet for the patch
48-
- Fixed bug #2888 : PSR12.Files.FileHeader blank line error with multiple namespaces in one file
49-
- Fixed bug #2926 : phpcs hangs when using arrow functions that return heredoc
50-
- Fixed bug #2943 : Redundant semicolon added to a file when fixing PSR2.Files.ClosingTag.NotAllowed
51-
- Fixed bug #2967 : Markdown generator does not output headings correctly
52-
-- Thanks to Petr Bugyík for the patch
53-
- Fixed bug #2977 : File::isReference() does not detect return by reference for closures
54-
-- Thanks to Juliette Reinders Folmer for the patch
55-
- Fixed bug #2994 : Generic.Formatting.DisallowMultipleStatements false positive for FOR loop with no body
56-
- Fixed bug #3033 : Error generated during tokenizing of goto statements on PHP 8
57-
-- Thanks to Juliette Reinders Folmer for the patch
29+
- Fixed bug #2975 : Undefined offset in PSR12.Functions.ReturnTypeDeclaration when checking function return type inside ternary
5830
</notes>
5931
<contents>
6032
<dir name="/">

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Config
7979
*
8080
* @var string
8181
*/
82-
const VERSION = '3.5.6';
82+
const VERSION = '3.5.7';
8383

8484
/**
8585
* Package stability; either stable, beta or alpha.

0 commit comments

Comments
 (0)