PHP Code Sniffer v3.4.2 Release Notes
Release Date: 2019-04-11 // almost 5 years ago-
Squiz.Arrays.ArrayDeclaration
now has improved handling of syntax errors- ๐ Fixed an issue where the PCRE JIT on PHP 7.3 caused PHPCS to die when using the parallel option
- PHPCS now disables the PCRE JIT before running
- ๐ Fixed bug #2368 : MySource.PHP.AjaxNullComparison throws error when first function has no doc comment
- ๐ Fixed bug #2414 : Indention false positive in switch/case/if combination
- ๐ Fixed bug #2423 : Squiz.Formatting.OperatorBracket.MissingBrackets error with static
- ๐ Fixed bug #2450 : Indentation false positive when closure containing nested IF conditions used as function argument
- ๐ Fixed bug #2452 : LowercasePHPFunctions sniff failing on "new \File()"
- ๐ Fixed bug #2453 : Squiz.CSS.SemicolonSpacingSniff false positive when style name proceeded by an asterisk
- Thanks to Juliette Reinders Folmer for the patch
- ๐ Fixed bug #2464 : Fixer conflict between Generic.WhiteSpace.ScopeIndent and Squiz.WhiteSpace.ScopeClosingBrace when class indented 1 space
- ๐ Fixed bug #2465 : Excluding a sniff by path is not working
- ๐ Fixed bug #2467 : PHP open/close tags inside CSS files are replaced with internal PHPCS token strings when auto fixing