Releases: mglaman/phpstan-drupal
Releases · mglaman/phpstan-drupal
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
1.2.1
What's Changed
- Detect public static $modules when it should be protected static $modules in tests by @Boegie in #597
- Fix tests after drupal/core changes by @mglaman in #605
- Stub $modules on KernelTestBase by @mglaman in #607
- Add information on why this package is needed by @mglaman in #606
- Add decorator support to ServiceMap. by @cmlara in #615
- Add null to the container get method return type when ContainerInterace::NULL_ON_INVALID_REFERENCE is passed as the second argument. by @mad-briller in #610
New Contributors
- @cmlara made their first contribution in #615
- @mad-briller made their first contribution in #610
Full Changelog: 1.2.0...1.2.1
1.2.0
Adds phpstan/phpstan-deprecation-rules
as a direct dependency and minimum version of 1.1.4. This allows ignoring deprecation warnings inside PHPUnit tests using @group legacy
for the Symfony PHPUnit Bridge.
What's Changed
- Improve RevisionableStorageInterface stub by @mglaman in #596
- Add
@group legacy
deprecated scope resolver by @mglaman in #595
Full Changelog: 1.1.37...1.2.0
1.1.37
What's Changed
- Add translatable interface stub for content entities by @simonbaese in #588
- Book module support: keys optional; bid can be new or FALSE; add original_bid, parent_depth_limit. by @mparker17 in #593
- PluginManagerSetsCacheBackendRule false positives due to intersection cache key types by @claudiu-cristea in #592
New Contributors
- @simonbaese made their first contribution in #588
- @claudiu-cristea made their first contribution in #592
Full Changelog: 1.1.36...1.1.37
1.1.36
1.1.35
What's Changed
- Convert Url toString return type extension to stub by @mglaman in #572
- AccessResult stubs by @mglaman in #573
- ContainerDynamicReturnTypeExtension resolves constant string types by @mglaman in #574
- Allow static calls to \Drupal in \Drupal\TestSite\TestSetupInterface by @mglaman in #575
- Support RevisionableStorageInterface and methods ::loadRevision() and ::deleteRevision() deprecation by @mglaman in #576
Full Changelog: 1.1.34...1.1.35
1.1.34
This release fixes EntityFieldReflection
from causing stub files with @property
annotations on entity type classes from being ignored!
What's Changed
- Make EntityFieldReflection aware of the book property added by book.module. by @mparker17 in #523
New Contributors
- @mparker17 made their first contribution in #523
Full Changelog: 1.1.33...1.1.34
1.1.33
What's Changed
- Add Drupal core baseline check by @mglaman in #554
- use ramsey/composer-install by @mglaman in #557
- Replace
set-output
commands by @Boegie in #567 - Switch testing against 10.1.x-dev to 11.x-dev branch by @Boegie in #565
- False positive when (one of) the callback function name(s) in #date_date_callbacks/#date_time_callbacks is a variable. by @Boegie in #558
Full Changelog: 1.1.32...1.1.33
1.1.32
What's Changed
- Support concatenated callables in RenderCallbackRule by @Boegie in #544
- EntityQueryDynamicReturnTypeExtension ignore count if unknown type by @Boegie in #546
- Skip loadInclude if baseName is not resolveable by @Boegie in #548
- Load includes not working from Drupal::moduleHandler()->loadInclude() by @mglaman in #550
- Add date and date time render callbacks to RenderCallbackRule by @mglaman in #551
Full Changelog: 1.1.31...1.1.32
1.1.31
What's Changed
- Update to "actions/checkout@v3" and thus node.js 16 by @Boegie in #537
- GitIgnore PHPStorm files by @Boegie in #535
- Bump phpstan/phpstan to ^1.10.1 by @Boegie in #533
- Support TrustedCallback attribute for RenderCallbackRule by @mglaman in #529
- allow drush/drush ^11 in require-dev by @mglaman in #540
- use isSuperOf instead of instanceof checks for storage types by @mglaman in #541
- Count entity queries on config entities incorrectly require accesCheck() by @Boegie in #531
Full Changelog: 1.1.30...1.1.31