Question
[ERROR] Could not process "app/Http/Resources/Frontend/OrderConfirmResource.php" file, due to:
"PHPStan\Reflection\ClassReflection::getMethod(): Argument #2 ($scope) must be of type
PHPStan\Reflection\ClassMemberAccessAnswerer, null given, called in
vendor/rector/rector/packages/NodeCollector/NodeAnalyzer/ArrayCallableMethodMatcher.php:146". On line: 308
Script vendor/bin/rector process --ansi --dry-run handling the rector event returned with error code 1
Started getting this error after running a composer update recently.
Rector version: 0.11.56
PHPStan Version: 0.12.99
Not really sure how to debug this