Releases: mglaman/phpstan-drupal
Releases · mglaman/phpstan-drupal
1.1.30
1.1.29
1.1.28
1.1.27
What's Changed
- False negative accessCheck failure on entity queries with entity type coming from parameter by @Boegie in #495
- getAggregateQuery() entity query access check false report by @Boegie in #498
- allow \Drupal static in enums by @mglaman in #502
New Contributors
Full Changelog: 1.1.26...1.1.27
1.1.26
What's Changed
- Replace deprecated
PHPStan\Type\Constant\ConstantArrayType::findTypeAndMethodName()
call by @mxr576 in #485 - bump phpstan minimum to 1.8 by @mglaman in #489
- Allow
EntityReferenceFieldItemListInterface::referencedEntities
to work with generic by @dpi in #478 - fix: Fix unpredictable false positive/negative of missing entity access check in function scope due to cache key conflict by @driskell in #476
- Update
EntityQueryWithoutAccessRule
rule message to use full Drupal message by @goba in #469 REQUEST_TIME
pushed to 11.0.0 removal by @mglaman in #491
New Contributors
Full Changelog: 1.1.25...1.1.26
1.1.25
Quick patch release following up on the RequestStack forward compatibility shim work in #446. This reduces the noise by only reporting an error when using the method deprecated in Symfony 5 and removed in Symfony 6.
What's Changed
Full Changelog: 1.1.24...1.1.25
1.1.24
1.1.23
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
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