Bump to PHPStan ^2.1.35 by samsonasik · Pull Request #7847 · rectorphp/rector-src
Conversation
This was referenced
Jan 21, 2026This was referenced
Jan 21, 2026Looks like a fix might have been released: phpstan/phpstan#13983 (comment)
So, please, if
$scope->getType()doesn't work for you in your isset() rule, use$scope->getScopeType()instead. Thank you for understanding.
@calebdw I will create separate PR for bump to phpstan ^2.1.36 and verify the fix :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters