@@ -17,36 +17,17 @@ http://pear.php.net/dtd/package-2.0.xsd">
17
17
<date>2021-12-13</date>
18
18
<time>08:44:00</time>
19
19
<version>
20
- <release>3.6.2 </release>
21
- <api>3.6.2 </api>
20
+ <release>3.7.0 </release>
21
+ <api>3.7.0 </api>
22
22
</version>
23
23
<stability>
24
24
<release>stable</release>
25
25
<api>stable</api>
26
26
</stability>
27
27
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
28
28
<notes>
29
- - Processing large code bases that use tab indenting inside comments and strings will now be faster
30
- -- Thanks to Thiemo Kreuz for the patch
31
- - Fixed bug #3388 : phpcs does not work when run from WSL drives
32
- -- Thanks to Juliette Reinders Folmer and Graham Wharton for the patch
33
- - Fixed bug #3422 : Squiz.WhiteSpace.ScopeClosingBrace fixer removes HTML content when fixing closing brace alignment
34
- -- Thanks to Juliette Reinders Folmer for the patch
35
- - Fixed bug #3437 : PSR12 does not forbid blank lines at the start of the class body
36
- -- Added new PSR12.Classes.OpeningBraceSpace sniff to enforce this
37
- - Fixed bug #3440 : Squiz.WhiteSpace.MemberVarSpacing false positives when attributes used without docblock
38
- -- Thanks to Vadim Borodavko for the patch
39
- - Fixed bug #3448 : PHP 8.1 deprecation notice while generating running time value
40
- -- Thanks to Juliette Reinders Folmer and Andy Postnikov for the patch
41
- - Fixed bug #3456 : PSR12.Classes.ClassInstantiation.MissingParentheses false positive using attributes on anonymous class
42
- -- Thanks to Juliette Reinders Folmer for the patch
43
- - Fixed bug #3460 : Generic.Formatting.MultipleStatementAlignment false positive on closure with parameters
44
- -- Thanks to Juliette Reinders Folmer for the patch
45
- - Fixed bug #3468 : do/while loops are double-counted in Generic.Metrics.CyclomaticComplexity
46
- -- Thanks to Mark Baker for the patch
47
- - Fixed bug #3469 : Ternary Operator and Null Coalescing Operator are not counted in Generic.Metrics.CyclomaticComplexity
48
- -- Thanks to Mark Baker for the patch
49
- - Fixed bug #3472 : PHP 8 match() expression is not counted in Generic.Metrics.CyclomaticComplexity
29
+ - Added support for PHP 8.1 explicit octal notation
30
+ -- This new syntax has been backfilled for PHP versions less than 8.1
50
31
-- Thanks to Mark Baker for the patch
51
32
</notes>
52
33
<contents>
@@ -135,6 +116,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
135
116
<file baseinstalldir="" name="ArrayKeywordTest.php" role="test" />
136
117
<file baseinstalldir="" name="AttributesTest.inc" role="test" />
137
118
<file baseinstalldir="" name="AttributesTest.php" role="test" />
119
+ <file baseinstalldir="" name="BackfillExplicitOctalNotationTest.inc" role="test" />
120
+ <file baseinstalldir="" name="BackfillExplicitOctalNotationTest.php" role="test" />
138
121
<file baseinstalldir="" name="BackfillFnTokenTest.inc" role="test" />
139
122
<file baseinstalldir="" name="BackfillFnTokenTest.php" role="test" />
140
123
<file baseinstalldir="" name="BackfillMatchTokenTest.inc" role="test" />
@@ -2090,6 +2073,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
2090
2073
<install as="CodeSniffer/Core/Tokenizer/ArrayKeywordTest.inc" name="tests/Core/Tokenizer/ArrayKeywordTest.inc" />
2091
2074
<install as="CodeSniffer/Core/Tokenizer/AttributesTest.php" name="tests/Core/Tokenizer/AttributesTest.php" />
2092
2075
<install as="CodeSniffer/Core/Tokenizer/AttributesTest.inc" name="tests/Core/Tokenizer/AttributesTest.inc" />
2076
+ <install as="CodeSniffer/Core/Tokenizer/BackfillExplicitOctalNotationTest.php" name="tests/Core/Tokenizer/BackfillExplicitOctalNotationTest.php" />
2077
+ <install as="CodeSniffer/Core/Tokenizer/BackfillExplicitOctalNotationTest.inc" name="tests/Core/Tokenizer/BackfillExplicitOctalNotationTest.inc" />
2093
2078
<install as="CodeSniffer/Core/Tokenizer/BackfillFnTokenTest.php" name="tests/Core/Tokenizer/BackfillFnTokenTest.php" />
2094
2079
<install as="CodeSniffer/Core/Tokenizer/BackfillFnTokenTest.inc" name="tests/Core/Tokenizer/BackfillFnTokenTest.inc" />
2095
2080
<install as="CodeSniffer/Core/Tokenizer/BackfillMatchTokenTest.php" name="tests/Core/Tokenizer/BackfillMatchTokenTest.php" />
@@ -2180,6 +2165,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
2180
2165
<install as="CodeSniffer/Core/Tokenizer/ArrayKeywordTest.inc" name="tests/Core/Tokenizer/ArrayKeywordTest.inc" />
2181
2166
<install as="CodeSniffer/Core/Tokenizer/AttributesTest.php" name="tests/Core/Tokenizer/AttributesTest.php" />
2182
2167
<install as="CodeSniffer/Core/Tokenizer/AttributesTest.inc" name="tests/Core/Tokenizer/AttributesTest.inc" />
2168
+ <install as="CodeSniffer/Core/Tokenizer/BackfillExplicitOctalNotationTest.php" name="tests/Core/Tokenizer/BackfillExplicitOctalNotationTest.php" />
2169
+ <install as="CodeSniffer/Core/Tokenizer/BackfillExplicitOctalNotationTest.inc" name="tests/Core/Tokenizer/BackfillExplicitOctalNotationTest.inc" />
2183
2170
<install as="CodeSniffer/Core/Tokenizer/BackfillFnTokenTest.php" name="tests/Core/Tokenizer/BackfillFnTokenTest.php" />
2184
2171
<install as="CodeSniffer/Core/Tokenizer/BackfillFnTokenTest.inc" name="tests/Core/Tokenizer/BackfillFnTokenTest.inc" />
2185
2172
<install as="CodeSniffer/Core/Tokenizer/BackfillMatchTokenTest.php" name="tests/Core/Tokenizer/BackfillMatchTokenTest.php" />
0 commit comments