Releases: mglaman/phpstan-drupal
Releases · mglaman/phpstan-drupal
2.0.10
What's Changed
- TimestamItem value is int by @znerol in #891
- Modify allow-plugins by @mglaman in #916
- Timestamp fields return int: fix field-types.php fixture by @mglaman in #915
- Use non-empty-array in fixture for InspectorTypeExtensionTest by @mglaman in #917
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #911
- Detect calling addCacheableDependency on non-CacheableDependencyInterface values by @mariano-dagostino in #913
- HookFormAlterRule for hook_form_alter by @mglaman in #921
New Contributors
- @znerol made their first contribution in #891
- @mariano-dagostino made their first contribution in #913
Full Changelog: 2.0.9...2.0.10
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::deleteRevisionshould accept string ids by @dpi in #904 - ✨ Narrow return value of
getLinkTemplateby whetherhasLinkTemplatewas called beforehand by @dpi in #906 - ✨ Narrow return value of
getKeyby whetherhasKeywas called beforehand by @dpi in #905
Full Changelog: 2.0.8...2.0.9
2.0.8
What's Changed
- Add
RevisionableStorageInterface::createRevisiongeneric for return type by @dpi in #894 Url::accessreturn type changes depending on a parameter by @dpi in #896- IDs can be strings,
RevisionableStorageInterface::loadRevisionshould accept string ids by @dpi in #895 - Fix badly formatted doc for
Url::accessand 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 toisNewon an instance ofEntityInterfaceby @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