Skip to content

v4.3.0

Latest

Choose a tag to compare

@fballiano fballiano released this 27 Jul 08:33
· 3 commits to main since this release
Immutable release. Only release title and notes can be modified.
f46b2ee

What's Changed

  • Implement ExtendedMethodReflection::getPureUnlessCallableIsImpureParameters() in PublicMethodReflection. PHPStan 2.2.6 added this method to the interface, so without it every analysis run fatals as soon as the class is autoloaded — which happens through BindThisScopeResolverExtension, i.e. any phtml template or install script calling a protected method on $this.

Requirements

  • PHPStan ^2.2.6 (was ^2.1). 2.2.5 is the last release without the new interface method, so it cannot be supported alongside it.
  • PHP >=8.3 (was >= 8.2).

Dependencies

  • Bump phpstan/phpstan to 2.2.6, phpstan/phpstan-strict-rules to 2.0.12, phpstan/phpstan-deprecation-rules to 2.0.4.
  • Pin GitHub Actions to commit SHAs and bump actions/checkout / shivammathur/setup-php.

Full Changelog: v4.2.1...v4.3.0