What's Changed
- Implement
ExtendedMethodReflection::getPureUnlessCallableIsImpureParameters()inPublicMethodReflection. 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 throughBindThisScopeResolverExtension, 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/phpstanto 2.2.6,phpstan/phpstan-strict-rulesto 2.0.12,phpstan/phpstan-deprecation-rulesto 2.0.4. - Pin GitHub Actions to commit SHAs and bump
actions/checkout/shivammathur/setup-php.
Full Changelog: v4.2.1...v4.3.0