Releases: mglaman/phpstan-drupal
Releases · mglaman/phpstan-drupal
1.2.11
What's Changed
- Support turning off @internal check by @mglaman in #754
- Register dynamic services from DrupalKernel::attachSynthetic by @mglaman in #762
Internals 🔍
- Accept deprecations from webflo/drupal-finder 1.3 by @mglaman in #758
- Allow Drush 13 for testing Drupal 11 by @mglaman in #759
- Allow PHPUnit 10, 11 for Drupal 11 testing by @mglaman in #761
Full Changelog: 1.2.10...1.2.11
1.2.10
1.2.9
1.2.8
New rules!
- Add DependencySerializationTraitPropertyRule by @MakerTim in #731
- Add AccessResultConditionRule by @mglaman #737
Enable these rules by turning them on in your phpstan.neon
:
parameters:
drupal:
dependencySerializationTraitPropertyRule: true
accessResultConditionRule: true
What's Changed
Internals 🔍
- Bump ramsey/composer-install from 2 to 3 by @dependabot in #732
New Contributors
Full Changelog: 1.2.7...1.2.8
1.2.7
What's Changed
Internals 🔍
- Build integration missing 10.x by @mglaman in #725
- Bump cbrgm/mastodon-github-action from 1 to 2 by @dependabot in #722
- Add missing return in ClassExtendsInternalClassRule. by @mad-briller in #716
- Simplify access to reflections in SymfonyCmfRoutingInClassMethodSignatureRule and TestClassesProtectedPropertyModulesRule. by @mad-briller in #717
- Fully qualify all global function calls. by @mad-briller in #718
- Add implements generics to all Rule implementations and remove associated assert() calls. by @mad-briller in #719
- Bump actions/cache from 3 to 4 by @dependabot in #720
Full Changelog: 1.2.6...1.2.7
1.2.6
PHPStan requirement has been bumped to 1.10.56 for accessing the function stack with parameters from the analyzer scope, enabling a DeprecationHelper deprecated scope resolver.
What's Changed
Full Changelog: 1.2.5...1.2.6
1.2.5
The phpstan-drupal playground code has been moved to https://github.com/mglaman/phpstan-drupal-playground/
What's Changed
- Replace usages of getLine with getNewLine by @mglaman in #709
- Fix RenderCallbackRule PHPStan errors by @mglaman in #710
- Deprecation fixed for loadRevison on RevisionableStorageInterface by @mglaman in #712
Full Changelog: 1.2.4...1.2.5
1.2.4
1.2.3
What's Changed
- Add playground-runner by @mglaman in #628
- Display raw drupal_root parameter for better debugging by @mglaman in #631
- Bump actions/checkout from 3 to 4 by @dependabot in #629
- Add playground-api for runner by @mglaman in #632
- Implement a rule to check deprecated hook implementations by @Kingdutch in #634
- PR Add PHP 8.2 to test workflow by @Boegie in #625
New Contributors
- @dependabot made their first contribution in #629
- @Kingdutch made their first contribution in #634
Full Changelog: 1.2.2...1.2.3
1.2.2
This patch release fixes some issues caused by service decoration support (#615)
What's Changed
- Add automatic posting for releases by @mglaman in #617
- PR Drop Drupal 8 from testing workflows by @Boegie in #623
- Use TypeCombinator::union() to combine decorated service classes. by @cmlara in #620
- Do not error when a service decorates an unknown service. by @cmlara in #622
Full Changelog: 1.2.1...1.2.2