@@ -26,10 +26,35 @@ http://pear.php.net/dtd/package-2.0.xsd">
2626 </stability>
2727 <license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
2828 <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
2937 - Fixed bug #3616 : Squiz.PHP.DisallowComparisonAssignment false positive for PHP 8 match expression
3038 -- Thanks to Juliette Reinders Folmer (@jrfnl) for the patch
3139 - Fixed bug #3618 : Generic.WhiteSpace.ArbitraryParenthesesSpacing false positive for return new parent()
3240 -- 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
3358 </notes>
3459 <contents>
3560 <dir name="/">
@@ -143,6 +168,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
143168 <file baseinstalldir="" name="FinallyTest.php" role="test" />
144169 <file baseinstalldir="" name="GotoLabelTest.inc" role="test" />
145170 <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" />
146175 <file baseinstalldir="" name="NamedFunctionCallArgumentsTest.inc" role="test" />
147176 <file baseinstalldir="" name="NamedFunctionCallArgumentsTest.php" role="test" />
148177 <file baseinstalldir="" name="NullsafeObjectOperatorTest.inc" role="test" />
@@ -785,6 +814,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
785814 <file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.1.inc.fixed" role="test" />
786815 <file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.2.inc" role="test" />
787816 <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" />
788819 <file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.js" role="test" />
789820 <file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.js.fixed" role="test" />
790821 <file baseinstalldir="PHP/CodeSniffer" name="DisallowTabIndentUnitTest.php" role="test" />
@@ -2116,6 +2147,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
21162147 <install as="CodeSniffer/Core/Tokenizer/FinallyTest.inc" name="tests/Core/Tokenizer/FinallyTest.inc" />
21172148 <install as="CodeSniffer/Core/Tokenizer/GotoLabelTest.php" name="tests/Core/Tokenizer/GotoLabelTest.php" />
21182149 <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" />
21192154 <install as="CodeSniffer/Core/Tokenizer/NamedFunctionCallArgumentsTest.php" name="tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php" />
21202155 <install as="CodeSniffer/Core/Tokenizer/NamedFunctionCallArgumentsTest.inc" name="tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.inc" />
21212156 <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">
22202255 <install as="CodeSniffer/Core/Tokenizer/FinallyTest.inc" name="tests/Core/Tokenizer/FinallyTest.inc" />
22212256 <install as="CodeSniffer/Core/Tokenizer/GotoLabelTest.php" name="tests/Core/Tokenizer/GotoLabelTest.php" />
22222257 <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" />
22232262 <install as="CodeSniffer/Core/Tokenizer/NamedFunctionCallArgumentsTest.php" name="tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php" />
22242263 <install as="CodeSniffer/Core/Tokenizer/NamedFunctionCallArgumentsTest.inc" name="tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.inc" />
22252264 <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">
22452284 </filelist>
22462285 </phprelease>
22472286 <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>
22482330 <release>
22492331 <version>
22502332 <release>3.7.1</release>
0 commit comments