Skip to content

8.10.0

Compare
Choose a tag to compare
@kukulich kukulich released this 10 Apr 08:22
· 107 commits to master since this release
8.10.0

🆕 New sniffs

  • SlevomatCodingStandard.Classes.DisallowStringExpressionPropertyFetch: Disallows string expression property fetch $object->{'foo'}
  • SlevomatCodingStandard.Strings.DisallowVariableParsing: Disallows variable parsing inside strings (thanks to @Ekimik)
  • SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed: Disallows partially keyed arrays (thanks to @bkdotcom)

🔧 Improvements

  • Object shapes support
  • Improved support for arrays in array() style (thanks to @bkdotcom)
  • Support for phpstan/phpdoc-parser 1.18