Skip to content

Commit d6a58bd

Browse files
committed
Changelog + PEAR entries for #3481
1 parent e3b91d5 commit d6a58bd

File tree

2 files changed

+11
-24
lines changed

2 files changed

+11
-24
lines changed

package.xml

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,36 +17,17 @@ http://pear.php.net/dtd/package-2.0.xsd">
1717
<date>2021-12-13</date>
1818
<time>08:44:00</time>
1919
<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>
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-
- 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
5031
-- Thanks to Mark Baker for the patch
5132
</notes>
5233
<contents>
@@ -135,6 +116,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
135116
<file baseinstalldir="" name="ArrayKeywordTest.php" role="test" />
136117
<file baseinstalldir="" name="AttributesTest.inc" role="test" />
137118
<file baseinstalldir="" name="AttributesTest.php" role="test" />
119+
<file baseinstalldir="" name="BackfillExplicitOctalNotationTest.inc" role="test" />
120+
<file baseinstalldir="" name="BackfillExplicitOctalNotationTest.php" role="test" />
138121
<file baseinstalldir="" name="BackfillFnTokenTest.inc" role="test" />
139122
<file baseinstalldir="" name="BackfillFnTokenTest.php" role="test" />
140123
<file baseinstalldir="" name="BackfillMatchTokenTest.inc" role="test" />
@@ -2090,6 +2073,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
20902073
<install as="CodeSniffer/Core/Tokenizer/ArrayKeywordTest.inc" name="tests/Core/Tokenizer/ArrayKeywordTest.inc" />
20912074
<install as="CodeSniffer/Core/Tokenizer/AttributesTest.php" name="tests/Core/Tokenizer/AttributesTest.php" />
20922075
<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" />
20932078
<install as="CodeSniffer/Core/Tokenizer/BackfillFnTokenTest.php" name="tests/Core/Tokenizer/BackfillFnTokenTest.php" />
20942079
<install as="CodeSniffer/Core/Tokenizer/BackfillFnTokenTest.inc" name="tests/Core/Tokenizer/BackfillFnTokenTest.inc" />
20952080
<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">
21802165
<install as="CodeSniffer/Core/Tokenizer/ArrayKeywordTest.inc" name="tests/Core/Tokenizer/ArrayKeywordTest.inc" />
21812166
<install as="CodeSniffer/Core/Tokenizer/AttributesTest.php" name="tests/Core/Tokenizer/AttributesTest.php" />
21822167
<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" />
21832170
<install as="CodeSniffer/Core/Tokenizer/BackfillFnTokenTest.php" name="tests/Core/Tokenizer/BackfillFnTokenTest.php" />
21842171
<install as="CodeSniffer/Core/Tokenizer/BackfillFnTokenTest.inc" name="tests/Core/Tokenizer/BackfillFnTokenTest.inc" />
21852172
<install as="CodeSniffer/Core/Tokenizer/BackfillMatchTokenTest.php" name="tests/Core/Tokenizer/BackfillMatchTokenTest.php" />

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Config
8080
*
8181
* @var string
8282
*/
83-
const VERSION = '3.6.2';
83+
const VERSION = '3.7.0';
8484

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

0 commit comments

Comments
 (0)