Releases: mglaman/phpstan-drupal
Releases · mglaman/phpstan-drupal
2.0.9
What's Changed
- 🐛 Narrow only by existing return types by @dpi in #903
- Migrate PHPUnit configuration across PHPUnit major versions by @dpi in #907
- IDs can be strings,
RevisionableStorageInterface::deleteRevision
should accept string ids by @dpi in #904 - ✨ Narrow return value of
getLinkTemplate
by whetherhasLinkTemplate
was called beforehand by @dpi in #906 - ✨ Narrow return value of
getKey
by whetherhasKey
was called beforehand by @dpi in #905
Full Changelog: 2.0.8...2.0.9
2.0.8
What's Changed
- Add
RevisionableStorageInterface::createRevision
generic for return type by @dpi in #894 Url::access
return type changes depending on a parameter by @dpi in #896- IDs can be strings,
RevisionableStorageInterface::loadRevision
should accept string ids by @dpi in #895 - Fix badly formatted doc for
Url::access
and add tests by @dpi in #898 - Allow installers v2 so we can get rid of PHP 8.4 errors by @dpi in #899
- Narrow return value of
EntityInterface->id()
by previous calls toisNew
on an instance ofEntityInterface
by @dpi in #900 - Fix implicit nullable parameter on PHP 8.4 by @dpi in #897
Full Changelog: 2.0.7...2.0.8
2.0.7
What's Changed
- Overridden EntityReferenceFieldItemListInterface::referencedEntities generics error by @mglaman in #881
- Improve the InspectorTypeExtension and its tests by @Niklan in #871
- Stub EntityTypeManagerInterface::getDefinition for conditional null return by @mglaman in #883
- Allow disabling return type and stub extensions by @mglaman in #884
Full Changelog: 2.0.6...2.0.7
1.3.9
2.0.6
What's Changed
- Fix DrushIntegrationTest by @Niklan in #866
- Update workflow matrices by @mglaman in #867
- Stub ItemList::getIterator return type (2.x) by @Niklan in #868
- fix removal of CallToDeprecatedMethodRule in tests by @mglaman in #875
- Make FormatterInterface stub generic by @Niklan in #846
Full Changelog: 2.0.5...2.0.6