Skip to content

Releases: mglaman/phpstan-drupal

2.0.9

05 Aug 14:22
fed292e
Compare
Choose a tag to compare

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 whether hasLinkTemplate was called beforehand by @dpi in #906
  • ✨ Narrow return value of getKey by whether hasKey was called beforehand by @dpi in #905

Full Changelog: 2.0.8...2.0.9

2.0.8

04 Aug 20:26
0328209
Compare
Choose a tag to compare

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 to isNew on an instance of EntityInterface 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

22 May 18:06
42cca54
Compare
Choose a tag to compare

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

22 May 16:49
973a4e8
Compare
Choose a tag to compare

What's Changed

  • Overridden EntityReferenceFieldItemListInterface::referencedEntities generics error by @mglaman in #879

Full Changelog: 1.3.8...1.3.9

2.0.6

20 May 20:22
59b9de0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.5...2.0.6

1.3.8

20 May 20:22
17bb121
Compare
Choose a tag to compare

What's Changed

  • Stub ItemList::getIterator return type (1.x) by @Niklan in #869
  • Make FormatterInterface stub generic by @Niklan in #847

Full Changelog: 1.3.7...1.3.8

2.0.5

15 Apr 16:28
c50f146
Compare
Choose a tag to compare

What's Changed

  • 2.x: Fix negation types for Inspector by @Niklan in #860
  • 2.x: Fix assertAll causes staticMethod.alreadyNarrowedType by @Niklan in #858

Full Changelog: 2.0.4...2.0.5

1.3.7

15 Apr 16:29
91cb386
Compare
Choose a tag to compare

What's Changed

  • 1.x: Fix negation types for Inspector by @Niklan in #861
  • 1.x: Fix assertAll causes staticMethod.alreadyNarrowedType by @Niklan in #863

Full Changelog: 1.3.6...1.3.7

2.0.4

10 Apr 15:38
9a31538
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.3...2.0.4

1.3.6

10 Apr 16:15
23c9ddf
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3.5...1.3.6