Skip to content

2.0.14

Choose a tag to compare

@mglaman mglaman released this 22 Apr 21:11
· 4 commits to main since this release
a2ef88b

2.1.0 is coming soon, which will enable some rules that are currently disabled by default. The rules can still be turned off. If you're worried about disruptions, change your Composer constraint to ~2.0.14 to avoid minor version bumps.

What's Changed

  • Fix multisite extension discovery by scanning all sites/*/ directories by @dpagini in #956
  • Add stubs for daterange field type by @ceesgeene in #786
  • Infer return type from class-string in ClassResolver extensions by @mglaman in #965
  • Fix inverted isCount cache key logic in EntityQueryType by @mglaman in #966
  • Add LoggerFromFactoryPropertyAssignmentRule by @mglaman in #968
  • Add EntityStorageDirectInjectionRule by @mglaman in #969
  • Document opt-in rules and bleedingEdge parameters by @mglaman in #970
  • Add entity-type-id custom PHPDoc type by @mglaman in #972
  • Allow \Drupal usage check on render elements by @mglaman in #973
  • Fix InspectorTypeExtension compatibility with PHPStan 2.1.47 mixed~null type by @mglaman in #976
  • Move phpstan_fixtures test data to tests/src/Rules/data by @mglaman in #974
  • Add rule to detect Symfony\Component\Yaml\Yaml::parse() usage by @mglaman in #978
  • Add rules to detect missing CacheableMetadata parameter in entity operation methods and hooks by @mglaman in #979

New Contributors

Full Changelog: 2.0.13...2.0.14