Skip to content

Releases: mglaman/phpstan-drupal

1.1.24

14 Jul 20:55
64ff852
Compare
Choose a tag to compare

What's Changed

  • Add generic callable check for RenderCallbackRule by @mglaman in #453
  • Entity query access check rule improvements by @mglaman in #454
  • Specify T for FieldableEntityInterface stub by @mglaman in #456

Full Changelog: 1.1.23...1.1.24

1.1.23

14 Jul 12:17
ad47ecc
Compare
Choose a tag to compare

Includes a hotfix for 1.1.22 to fix SymfonyCmfRoutingInClassMethodSignatureRule

What's Changed

  • Generic FieldItemListInterface and related stubs by @jacktonkin in #433
  • Update phpstan-dev workflow by @mglaman in #450
  • SymfonyCmfRoutingInClassMethodSignatureRule stop using isSuperOf by @mglaman in #451

Full Changelog: 1.1.22...1.1.23

1.1.22

13 Jul 18:38
87e64fb
Compare
Choose a tag to compare

What's Changed

  • add support for class string service ids by @laytan in #434
  • Test #lazy_builder and static::class concat for callback by @mglaman in #426
  • fix composer allow-plugins in CI by @mglaman in #444
  • Allow static::class . '::methodName' concatenation in lazy builders. by @longwave in #436
  • Add SymfonyCmfRouteObjectInterfaceConstantsRule by @mglaman in #445
  • Forward compatibility shim added for Symfony 5 RequestStack rule by @mglaman in #446

New Contributors

Full Changelog: 1.1.21...1.1.22

1.1.21

07 Jul 19:39
8acaa1e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.20...1.1.21

1.1.20

07 Jun 14:33
f9d8493
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.1.19...1.1.20

1.1.19

04 Jun 20:40
b3dac21
Compare
Choose a tag to compare

What's Changed

  • Replace AccessibleReturnTypeExtension with stub for AccessibleInterface by @mglaman in #419
  • Add EntityInterface stub by @mglaman in #425

Full Changelog: 1.1.18...1.1.19

1.1.18

28 May 16:07
28f06af
Compare
Choose a tag to compare

What's Changed

  • Add stubs for ContentEntityInterface and FieldableEntityInterface by @mglaman in #413
  • Remove drupal-phpunit-hack.php by @mglaman in #415
  • Allow \Drupal calls in StreamWrapperInterface by @mglaman in #416
  • Update README.md by @webflo in #405
  • do not use DIRECTORY_SEPARATOR in error messages by @mglaman in #417

New Contributors

Full Changelog: 1.1.17...1.1.18

1.1.17

24 May 19:44
ff4f58b
Compare
Choose a tag to compare

Fixes with #409 allow using PHPStan without the rich node parser.

What's Changed

  • Enable richParserNodeVisitor for tests by @mglaman in #400
  • Explicit allowed class checks for #lazy_builder by @mglaman in #409
  • Fix PHPStan 1.7.0 incompatibilities by @mglaman in #410

Full Changelog: 1.1.16...1.1.17

1.1.16

13 Apr 21:05
2c72ac6
Compare
Choose a tag to compare

What's Changed

  • Entity query count and accessCheck order should not matter by @brambaud in #382
  • Move rules to rules.neon by @mglaman in #389
  • Start using slevomat/coding-standard rules by @mglaman in #390

Full Changelog: 1.1.15...1.1.16

1.1.15

06 Apr 21:05
b934beb
Compare
Choose a tag to compare

What's Changed

  • Report missing explicit access check on entity queries by @brambaud in #378
  • resolveFromStorage does not respect default phpDoc for generic storage interface by @mglaman in #379

Full Changelog: 1.1.14...1.1.15