Skip to content

Commit 9d58372

Browse files
committed
Prepare for 3.5.8 release
1 parent 9dd6d64 commit 9d58372

File tree

2 files changed

+22
-55
lines changed

2 files changed

+22
-55
lines changed

package.xml

+21-54
Original file line numberDiff line numberDiff line change
@@ -15,68 +15,19 @@ http://pear.php.net/dtd/package-2.0.xsd">
1515
<active>yes</active>
1616
</lead>
1717
<date>2020-10-23</date>
18-
<time>08:08:00</time>
18+
<time>13:00:00</time>
1919
<version>
20-
<release>3.5.7</release>
21-
<api>3.5.7</api>
20+
<release>3.5.8</release>
21+
<api>3.5.8</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-
- The PHP 8.0 T_NULLSAFE_OBJECT_OPERATOR token has been made available for older versions
30-
-- Existing sniffs that check for T_OBJECT_OPERATOR have been modified to apply the same rules for the nullsafe object operator
31-
-- Thanks to Juliette Reinders Folmer for the patch
32-
- The new method of PHP 8.0 tokenizing for namespaced names has been revert to thr pre 8.0 method
33-
-- This maintains backwards compatible for existing sniffs on PHP 8.0
34-
-- This change will be removed in PHPCS 4.0 as the PHP 8.0 tokenizing method will be backported for pre 8.0 versions
35-
-- Thanks to Juliette Reinders Folmer for the patch
36-
- Added support for changes to the way PHP 8.0 tokenizes hash comments
37-
-- The existing PHP 5-7 behaviour has been replicated for version 8, so no sniff changes are required
38-
-- Thanks to Juliette Reinders Folmer for the patch
39-
- The autoloader has been changed to fix sniff class name detection issues that may occur when running on PHP 7.4+
40-
-- Thanks to Eloy Lafuente for the patch
41-
- Running the unit tests now includes warnings in the found and fixable error code counts
42-
-- Thanks to Juliette Reinders Folmer for the patch
43-
- PSR12.ControlStructures.BooleanOperatorPlacement.FoundMixed error message is now more accurate when using the allowOnly setting
44-
-- Thanks to Vincent Langlet for the patch
45-
- PSR12.Functions.NullableTypeDeclaration now supports the PHP8 static return type
46-
-- Thanks to Juliette Reinders Folmer for the patch
47-
- Fixed Squiz.Formatting.OperatorBracket false positive when exiting with a negative number
48-
- Fixed Squiz.PHP.DisallowComparisonAssignment false positive for methods called on an object
49-
- Fixed bug #2882 : Generic.Arrays.ArrayIndent can request close brace indent to be less than the statement indent level
50-
- Fixed bug #2883 : Generic.WhiteSpace.ScopeIndent.Incorrect issue after NOWDOC
51-
- Fixed bug #2975 : Undefined offset in PSR12.Functions.ReturnTypeDeclaration when checking function return type inside ternary
52-
- Fixed bug #2988 : Undefined offset in Squiz.Strings.ConcatenationSpacing during live coding
53-
-- Thanks to Thiemo Kreuz for the patch
54-
- Fixed bug #2989 : Incorrect auto-fixing in Generic.ControlStructures.InlineControlStructure during live coding
55-
-- Thanks to Thiemo Kreuz for the patch
56-
- Fixed bug #3007 : Directory exclude pattern improperly excludes directories with names that start the same
57-
-- Thanks to Steve Talbot for the patch
58-
- Fixed bug #3043 : Squiz.WhiteSpace.OperatorSpacing false positive for negation in arrow function
59-
-- Thanks to Juliette Reinders Folmer for the patch
60-
- Fixed bug #3049 : Incorrect error with arrow function and parameter passed as reference
61-
-- Thanks to Juliette Reinders Folmer for the patch
62-
- Fixed bug #3053 : PSR2 incorrect fix when multiple use statements on same line do not have whitespace between them
63-
- Fixed bug #3058 : Progress gets unaligned when 100% happens at the end of the available dots
64-
- Fixed bug #3059 : Squiz.Arrays.ArrayDeclaration false positive when using type casting
65-
-- Thanks to Sergei Morozov for the patch
66-
- Fixed bug #3060 : Squiz.Arrays.ArrayDeclaration false positive for static functions
67-
-- Thanks to Sergei Morozov for the patch
68-
- Fixed bug #3065 : Should not fix Squiz.Arrays.ArrayDeclaration.SpaceBeforeComma if comment between element and comma
69-
-- Thanks to Sergei Morozov for the patch
70-
- Fixed bug #3066 : No support for namespace operator used in type declarations
71-
-- Thanks to Juliette Reinders Folmer for the patch
72-
- Fixed bug #3075 : PSR12.ControlStructures.BooleanOperatorPlacement false positive when operator is the only content on line
73-
- Fixed bug #3099 : Squiz.WhiteSpace.OperatorSpacing false positive when exiting with negative number
74-
-- Thanks to Sergei Morozov for the patch
75-
- Fixed bug #3102 : PSR12.Squiz.OperatorSpacing false positive for default values of arrow functions
76-
-- Thanks to Juliette Reinders Folmer for the patch
77-
- Fixed bug #3124 : PSR-12 not reporting error for empty lines with only whitespace
78-
- Fixed bug #3135 : Ignore annotations are broken on PHP 8.0
79-
-- Thanks to Juliette Reinders Folmer for the patch
29+
- Reverted a change to the way include/exclude patterns are processed for STDIN content
30+
-- This change is not backwards compatible and will be re-introduced in version 3.6.0
8031
</notes>
8132
<contents>
8233
<dir name="/">
@@ -2136,6 +2087,22 @@ http://pear.php.net/dtd/package-2.0.xsd">
21362087
</filelist>
21372088
</phprelease>
21382089
<changelog>
2090+
<release>
2091+
<version>
2092+
<release>3.5.8</release>
2093+
<api>3.5.8</api>
2094+
</version>
2095+
<stability>
2096+
<release>stable</release>
2097+
<api>stable</api>
2098+
</stability>
2099+
<date>2020-10-23</date>
2100+
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
2101+
<notes>
2102+
- Reverted a change to the way include/exclude patterns are processed for STDIN content
2103+
-- This change is not backwards compatible and will be re-introduced in version 3.6.0
2104+
</notes>
2105+
</release>
21392106
<release>
21402107
<version>
21412108
<release>3.5.7</release>

src/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Config
7979
*
8080
* @var string
8181
*/
82-
const VERSION = '3.5.7';
82+
const VERSION = '3.5.8';
8383

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

0 commit comments

Comments
 (0)