Uh oh!
There was an error while loading. Please reload this page.
Bump to PHPStan ^2.1.35 - #7847
Conversation
samsonasik
commented
Jan 21, 2026
The PHPStan 2.1.35 cause error in this rector-src unit test as well: I will check if we can tweak here :) |
samsonasik
commented
Jan 21, 2026
I created failing test case on PHPStan repository: hope it can be resolved there :) |
I've pinned PHPStan 2.1.34 in the It won't fix old installs (as composer rarely downgrades a package), but will prevent next updates |
@TomasVotruba thank you, we can temporary add on packages-tests CI. - run: | composer install --ansi composer require --dev phpstan/phpstan:2.1.34as the use of: not forcing phpstan 2.1.34. I will create new PR to temporary pin it so the main branch will all green :) Ref PR: |
calebdw
commented
Jan 21, 2026
Looks like a fix might have been released: phpstan/phpstan#13983 (comment)
|
samsonasik
commented
Jan 21, 2026
@calebdw I will create separate PR for bump to phpstan ^2.1.36 and verify the fix :) |
This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work. |
@calebdw@TomasVotruba this PR bump to PHPStan 2.1.35.
It seems scope process node is changed internally on PHPStan side.
see comparison of Before vs After Bump to PHPStan 2.1.35
Ref issue reported on PHPStan side:
I will check if we can tweak here, as this got error on this rector-src as well :)