Can Rector use PHPStan's collectors? #9047
-
Hello 👋🏽 Can Rector use PHPStan's collectors? Some rules would be more powerful if they had the whole project overview. I vaguely remember Rector having something like this in the past, but I think it wasn't using PHPStan's collectors system. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It was exists, but removed due to performance very costly and not practically useful see PR: for the reasoning |
Beta Was this translation helpful? Give feedback.
-
Hey, as @samsonasik wrote. It was performance heavy, as Rector is changing code contrary to PHPStan. What are you trying to achieve? |
Beta Was this translation helpful? Give feedback.
It was exists, but removed due to performance very costly and not practically useful
see PR:
for the reasoning