packagist phpcsstandards/php_codesniffer 3.4.2
3.4.2 - 2019-04-11

latest releases: dev-master, 4.0.x-dev, 3.11.1...
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

Don't miss a new php_codesniffer release

NewReleases is sending notifications on new releases.