@@ -26,10 +26,35 @@ http://pear.php.net/dtd/package-2.0.xsd">
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
+ - Newer versions of Composer will now suggest installing PHPCS using require-dev instead of require
30
+ -- Thanks to Gary Jones (@GaryJones) for the patch
31
+ - A custom Out Of Memory error will now be shown if PHPCS or PHPCBF run out of memory during a run
32
+ -- Error message provides actionable information about how to fix the problem and ensures the error is not silent
33
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) and Alain Schlesser (@schlessera) for the patch
34
+ - Generic.PHP.LowerCaseType sniff now correctly examines types inside arrow functions
35
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
36
+ - Squiz.Formatting.OperatorBracket no longer reports false positives in match() structures
29
37
- Fixed bug #3616 : Squiz.PHP.DisallowComparisonAssignment false positive for PHP 8 match expression
30
38
-- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
31
39
- Fixed bug #3618 : Generic.WhiteSpace.ArbitraryParenthesesSpacing false positive for return new parent()
32
40
-- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
41
+ - Fixed bug #3632 : Short list not tokenized correctly in control structures without braces
42
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
43
+ - Fixed bug #3639 : Tokenizer not applying tab replacement to heredoc/nowdoc closers
44
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
45
+ - Fixed bug #3640 : Generic.WhiteSpace.DisallowTabIndent not reporting errors for PHP 7.3 flexible heredoc/nowdoc syntax
46
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
47
+ - Fixed bug #3645 : PHPCS can show 0 exit code when running in parallel even if child process has fatal error
48
+ -- Thanks to Alex Panshin (@enl) for the patch
49
+ - Fixed bug #3653 : False positives for match() in OperatorSpacingSniff
50
+ -- Thanks to Jaroslav Hanslík (@kukulich) for the patch
51
+ - Fixed bug #3666 : PEAR.Functions.FunctionCallSignature incorrect indent fix when checking mixed HTML/PHP files
52
+ - Fixed bug #3668 : PSR12.Classes.ClassInstantiation.MissingParentheses false positive when instantiating parent classes
53
+ -- Similar issues also fixed in Generic.Functions.FunctionCallArgumentSpacing and Squiz.Formatting.OperatorBracket
54
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
55
+ - Fixed bug #3672 : Incorrect ScopeIndent.IncorrectExact report for match inside array literal
56
+ - Fixed bug #3694 : Generic.WhiteSpace.SpreadOperatorSpacingAfter does not ignore spread operator in PHP 8.1 first class callables
57
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
33
58
</notes>
34
59
<contents>
35
60
<dir name="/">
@@ -143,6 +168,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
143
168
<file baseinstalldir="" name="FinallyTest.php" role="test" />
144
169
<file baseinstalldir="" name="GotoLabelTest.inc" role="test" />
145
170
<file baseinstalldir="" name="GotoLabelTest.php" role="test" />
171
+ <file baseinstalldir="" name="HeredocNowdocCloserTest.inc" role="test" />
172
+ <file baseinstalldir="" name="HeredocNowdocCloserTest.php" role="test" />
173
+ <file baseinstalldir="" name="HeredocStringTest.inc" role="test" />
174
+ <file baseinstalldir="" name="HeredocStringTest.php" role="test" />
146
175
<file baseinstalldir="" name="NamedFunctionCallArgumentsTest.inc" role="test" />
147
176
<file baseinstalldir="" name="NamedFunctionCallArgumentsTest.php" role="test" />
148
177
<file baseinstalldir="" name="NullsafeObjectOperatorTest.inc" role="test" />
@@ -785,6 +814,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
785
814
<file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.1.inc.fixed" role="test" />
786
815
<file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.2.inc" role="test" />
787
816
<file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.2.inc.fixed" role="test" />
817
+ <file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.3.inc" role="test" />
818
+ <file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.3.inc.fixed" role="test" />
788
819
<file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.js" role="test" />
789
820
<file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.js.fixed" role="test" />
790
821
<file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.php" role="test" />
@@ -2116,6 +2147,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
2116
2147
<install as="CodeSniffer/Core/Tokenizer/FinallyTest.inc" name="tests/Core/Tokenizer/FinallyTest.inc" />
2117
2148
<install as="CodeSniffer/Core/Tokenizer/GotoLabelTest.php" name="tests/Core/Tokenizer/GotoLabelTest.php" />
2118
2149
<install as="CodeSniffer/Core/Tokenizer/GotoLabelTest.inc" name="tests/Core/Tokenizer/GotoLabelTest.inc" />
2150
+ <install as="CodeSniffer/Core/Tokenizer/HeredocNowdocCloserTest.php" name="tests/Core/Tokenizer/HeredocNowdocCloserTest.php" />
2151
+ <install as="CodeSniffer/Core/Tokenizer/HeredocNowdocCloserTest.inc" name="tests/Core/Tokenizer/HeredocNowdocCloserTest.inc" />
2152
+ <install as="CodeSniffer/Core/Tokenizer/HeredocStringTest.php" name="tests/Core/Tokenizer/HeredocStringTest.php" />
2153
+ <install as="CodeSniffer/Core/Tokenizer/HeredocStringTest.inc" name="tests/Core/Tokenizer/HeredocStringTest.inc" />
2119
2154
<install as="CodeSniffer/Core/Tokenizer/NamedFunctionCallArgumentsTest.php" name="tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php" />
2120
2155
<install as="CodeSniffer/Core/Tokenizer/NamedFunctionCallArgumentsTest.inc" name="tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.inc" />
2121
2156
<install as="CodeSniffer/Core/Tokenizer/NullsafeObjectOperatorTest.php" name="tests/Core/Tokenizer/NullsafeObjectOperatorTest.php" />
@@ -2220,6 +2255,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
2220
2255
<install as="CodeSniffer/Core/Tokenizer/FinallyTest.inc" name="tests/Core/Tokenizer/FinallyTest.inc" />
2221
2256
<install as="CodeSniffer/Core/Tokenizer/GotoLabelTest.php" name="tests/Core/Tokenizer/GotoLabelTest.php" />
2222
2257
<install as="CodeSniffer/Core/Tokenizer/GotoLabelTest.inc" name="tests/Core/Tokenizer/GotoLabelTest.inc" />
2258
+ <install as="CodeSniffer/Core/Tokenizer/HeredocNowdocCloserTest.php" name="tests/Core/Tokenizer/HeredocNowdocCloserTest.php" />
2259
+ <install as="CodeSniffer/Core/Tokenizer/HeredocNowdocCloserTest.inc" name="tests/Core/Tokenizer/HeredocNowdocCloserTest.inc" />
2260
+ <install as="CodeSniffer/Core/Tokenizer/HeredocStringTest.php" name="tests/Core/Tokenizer/HeredocStringTest.php" />
2261
+ <install as="CodeSniffer/Core/Tokenizer/HeredocStringTest.inc" name="tests/Core/Tokenizer/HeredocStringTest.inc" />
2223
2262
<install as="CodeSniffer/Core/Tokenizer/NamedFunctionCallArgumentsTest.php" name="tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php" />
2224
2263
<install as="CodeSniffer/Core/Tokenizer/NamedFunctionCallArgumentsTest.inc" name="tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.inc" />
2225
2264
<install as="CodeSniffer/Core/Tokenizer/NullsafeObjectOperatorTest.php" name="tests/Core/Tokenizer/NullsafeObjectOperatorTest.php" />
@@ -2245,6 +2284,49 @@ http://pear.php.net/dtd/package-2.0.xsd">
2245
2284
</filelist>
2246
2285
</phprelease>
2247
2286
<changelog>
2287
+ <release>
2288
+ <version>
2289
+ <release>3.7.2</release>
2290
+ <api>3.7.2</api>
2291
+ </version>
2292
+ <stability>
2293
+ <release>stable</release>
2294
+ <api>stable</api>
2295
+ </stability>
2296
+ <date>2023-02-23</date>
2297
+ <license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
2298
+ <notes>
2299
+ - Newer versions of Composer will now suggest installing PHPCS using require-dev instead of require
2300
+ -- Thanks to Gary Jones (@GaryJones) for the patch
2301
+ - A custom Out Of Memory error will now be shown if PHPCS or PHPCBF run out of memory during a run
2302
+ -- Error message provides actionable information about how to fix the problem and ensures the error is not silent
2303
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) and Alain Schlesser (@schlessera) for the patch
2304
+ - Generic.PHP.LowerCaseType sniff now correctly examines types inside arrow functions
2305
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
2306
+ - Squiz.Formatting.OperatorBracket no longer reports false positives in match() structures
2307
+ - Fixed bug #3616 : Squiz.PHP.DisallowComparisonAssignment false positive for PHP 8 match expression
2308
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
2309
+ - Fixed bug #3618 : Generic.WhiteSpace.ArbitraryParenthesesSpacing false positive for return new parent()
2310
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
2311
+ - Fixed bug #3632 : Short list not tokenized correctly in control structures without braces
2312
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
2313
+ - Fixed bug #3639 : Tokenizer not applying tab replacement to heredoc/nowdoc closers
2314
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
2315
+ - Fixed bug #3640 : Generic.WhiteSpace.DisallowTabIndent not reporting errors for PHP 7.3 flexible heredoc/nowdoc syntax
2316
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
2317
+ - Fixed bug #3645 : PHPCS can show 0 exit code when running in parallel even if child process has fatal error
2318
+ -- Thanks to Alex Panshin (@enl) for the patch
2319
+ - Fixed bug #3653 : False positives for match() in OperatorSpacingSniff
2320
+ -- Thanks to Jaroslav Hanslík (@kukulich) for the patch
2321
+ - Fixed bug #3666 : PEAR.Functions.FunctionCallSignature incorrect indent fix when checking mixed HTML/PHP files
2322
+ - Fixed bug #3668 : PSR12.Classes.ClassInstantiation.MissingParentheses false positive when instantiating parent classes
2323
+ -- Similar issues also fixed in Generic.Functions.FunctionCallArgumentSpacing and Squiz.Formatting.OperatorBracket
2324
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
2325
+ - Fixed bug #3672 : Incorrect ScopeIndent.IncorrectExact report for match inside array literal
2326
+ - Fixed bug #3694 : Generic.WhiteSpace.SpreadOperatorSpacingAfter does not ignore spread operator in PHP 8.1 first class callables
2327
+ -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
2328
+ </notes>
2329
+ </release>
2248
2330
<release>
2249
2331
<version>
2250
2332
<release>3.7.1</release>
0 commit comments