Skip to content

v1.1.2

Latest

Choose a tag to compare

@CybotTM CybotTM released this 02 Mar 13:31
· 25 commits to main since this release
v1.1.2
70bf601

Fixes (over v1.1.1)

  • Revert stubFiles to bootstrapFiles with class_exists guard: stubFiles only provides type info — PHPStan's attribute resolver needs the class to actually exist at runtime. Reverted to bootstrapFiles which executes the PHP file, but added a class_exists(::class, false) guard to prevent "Cannot redeclare class" fatal on PHPUnit 12+ where the real class is provided by phpunit/phpunit. This was causing PHPStan failures on PHP 8.2 with TYPO3 ^13.4.21 in CI.