Skip to content

Releases: mglaman/phpstan-drupal

1.2.11

10 May 17:23
e624a4b
Compare
Choose a tag to compare

What's Changed

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

02 Apr 17:28
cdafb32
Compare
Choose a tag to compare

What's Changed

Internals 🔍

Full Changelog: 1.2.9...1.2.10

1.2.9

22 Mar 20:13
2062852
Compare
Choose a tag to compare

What's Changed

  • Add EntityRepositoryInterface return type extension by @mglaman in #739

Internals 🔍

Full Changelog: 1.2.8...1.2.9

1.2.8

21 Mar 15:12
Compare
Choose a tag to compare

New rules!

Enable these rules by turning them on in your phpstan.neon:

parameters:
	drupal:
		dependencySerializationTraitPropertyRule: true
		accessResultConditionRule: true

What's Changed

  • Mark LockBackendInterface::acquire() as impure by @mglaman in #736

Internals 🔍

New Contributors

Full Changelog: 1.2.7...1.2.8

1.2.7

14 Feb 05:24
32f79fc
Compare
Choose a tag to compare

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

16 Jan 00:45
ba8678f
Compare
Choose a tag to compare

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

  • Add DeprecationHelper DeprecatedScopeResolver by @mglaman in #714

Full Changelog: 1.2.5...1.2.6

1.2.5

10 Jan 16:58
a5a001a
Compare
Choose a tag to compare

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

14 Nov 22:48
57b2cc6
Compare
Choose a tag to compare

The deprecated hook implementation rule (#634) is now behind a bleeding edge flag, resolving errors users experienced with the last release.

What's Changed

Full Changelog: 1.2.3...1.2.4

1.2.3

13 Nov 14:42
e21d534
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.2.2...1.2.3

1.2.2

10 Nov 02:40
bde6445
Compare
Choose a tag to compare

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