squizlabs/PHP_CodeSniffer (squizlabs/php_codesniffer)
### [`v3.7.2`](https://togithub.com/squizlabs/PHP_CodeSniffer/releases/tag/3.7.2)
[Compare Source](https://togithub.com/squizlabs/PHP_CodeSniffer/compare/3.7.1...3.7.2)
- Newer versions of Composer will now suggest installing PHPCS using require-dev instead of require
- Thanks to Gary Jones ([@GaryJones](https://togithub.com/GaryJones)) for the patch
- A custom Out Of Memory error will now be shown if PHPCS or PHPCBF run out of memory during a run
- Error message provides actionable information about how to fix the problem and ensures the error is not silent
- Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) and Alain Schlesser ([@schlessera](https://togithub.com/schlessera)) for the patch
- Generic.PHP.LowerCaseType sniff now correctly examines types inside arrow functions
- Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch
- Squiz.Formatting.OperatorBracket no longer reports false positives in match() structures
- Fixed bug [#3616](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3616) : Squiz.PHP.DisallowComparisonAssignment false positive for PHP 8 match expression
- Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch
- Fixed bug [#3618](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3618) : Generic.WhiteSpace.ArbitraryParenthesesSpacing false positive for return new parent()
- Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch
- Fixed bug [#3632](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3632) : Short list not tokenized correctly in control structures without braces
- Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch
- Fixed bug [#3639](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3639) : Tokenizer not applying tab replacement to heredoc/nowdoc closers
- Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch
- Fixed bug [#3640](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3640) : Generic.WhiteSpace.DisallowTabIndent not reporting errors for PHP 7.3 flexible heredoc/nowdoc syntax
- Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch
- Fixed bug [#3645](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3645) : PHPCS can show 0 exit code when running in parallel even if child process has fatal error
- Thanks to Alex Panshin ([@enl](https://togithub.com/enl)) for the patch
- Fixed bug [#3653](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3653) : False positives for match() in OperatorSpacingSniff
- Thanks to Jaroslav Hanslík ([@kukulich](https://togithub.com/kukulich)) for the patch
- Fixed bug [#3666](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3666) : PEAR.Functions.FunctionCallSignature incorrect indent fix when checking mixed HTML/PHP files
- Fixed bug [#3668](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3668) : PSR12.Classes.ClassInstantiation.MissingParentheses false positive when instantiating parent classes
- Similar issues also fixed in Generic.Functions.FunctionCallArgumentSpacing and Squiz.Formatting.OperatorBracket
- Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch
- Fixed bug [#3672](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3672) : Incorrect ScopeIndent.IncorrectExact report for match inside array literal
- Fixed bug [#3694](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3694) : Generic.WhiteSpace.SpreadOperatorSpacingAfter does not ignore spread operator in PHP 8.1 first class callables
- Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone America/Chicago, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
3.7.1
->3.7.2
Release Notes
squizlabs/PHP_CodeSniffer (squizlabs/php_codesniffer)
### [`v3.7.2`](https://togithub.com/squizlabs/PHP_CodeSniffer/releases/tag/3.7.2) [Compare Source](https://togithub.com/squizlabs/PHP_CodeSniffer/compare/3.7.1...3.7.2) - Newer versions of Composer will now suggest installing PHPCS using require-dev instead of require - Thanks to Gary Jones ([@GaryJones](https://togithub.com/GaryJones)) for the patch - A custom Out Of Memory error will now be shown if PHPCS or PHPCBF run out of memory during a run - Error message provides actionable information about how to fix the problem and ensures the error is not silent - Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) and Alain Schlesser ([@schlessera](https://togithub.com/schlessera)) for the patch - Generic.PHP.LowerCaseType sniff now correctly examines types inside arrow functions - Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch - Squiz.Formatting.OperatorBracket no longer reports false positives in match() structures - Fixed bug [#3616](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3616) : Squiz.PHP.DisallowComparisonAssignment false positive for PHP 8 match expression - Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch - Fixed bug [#3618](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3618) : Generic.WhiteSpace.ArbitraryParenthesesSpacing false positive for return new parent() - Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch - Fixed bug [#3632](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3632) : Short list not tokenized correctly in control structures without braces - Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch - Fixed bug [#3639](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3639) : Tokenizer not applying tab replacement to heredoc/nowdoc closers - Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch - Fixed bug [#3640](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3640) : Generic.WhiteSpace.DisallowTabIndent not reporting errors for PHP 7.3 flexible heredoc/nowdoc syntax - Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch - Fixed bug [#3645](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3645) : PHPCS can show 0 exit code when running in parallel even if child process has fatal error - Thanks to Alex Panshin ([@enl](https://togithub.com/enl)) for the patch - Fixed bug [#3653](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3653) : False positives for match() in OperatorSpacingSniff - Thanks to Jaroslav Hanslík ([@kukulich](https://togithub.com/kukulich)) for the patch - Fixed bug [#3666](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3666) : PEAR.Functions.FunctionCallSignature incorrect indent fix when checking mixed HTML/PHP files - Fixed bug [#3668](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3668) : PSR12.Classes.ClassInstantiation.MissingParentheses false positive when instantiating parent classes - Similar issues also fixed in Generic.Functions.FunctionCallArgumentSpacing and Squiz.Formatting.OperatorBracket - Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patch - Fixed bug [#3672](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3672) : Incorrect ScopeIndent.IncorrectExact report for match inside array literal - Fixed bug [#3694](https://togithub.com/squizlabs/PHP_CodeSniffer/issues/3694) : Generic.WhiteSpace.SpreadOperatorSpacingAfter does not ignore spread operator in PHP 8.1 first class callables - Thanks to Juliette Reinders Folmer ([@jrfnl](https://togithub.com/jrfnl)) for the patchConfiguration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone America/Chicago, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.