-
-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Testing] Reduce IO on AbstractRectorTestCase take 2 #3671
Conversation
All checks have passed 🎉 @TomasVotruba I am merging it ;) |
Nice |
I wish we had a PHPStan rule to find these. It's seems like a obvious pattern :) |
I get random test error locally.
I wonder why e.g. same for the 2nd failure. how/why is it seems there is a hidden dependency or similar somewhere |
It probably related with how gc appplied, see
and rector-src/tests/bootstrap.php Line 13 in 07a0475
That were there probably on purpose |
* [Testing] Reduce IO on AbstractRectorTestCase take 2 * [ci-review] Rector Rectify --------- Co-authored-by: GitHub Action <actions@github.com>
Continue of #3670, @TomasVotruba @staabm this is reduce unnecessary
FileSystem::read()
when already defined in variable.