You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I missed something in the rules policies, but I was under the impression that Rector should, when possible, provide safe changes? The above is a big BC break because if you have the following call:
the solution I can think of is unregister from set or move to other set, eg: rector-preset or code quality set, I will discuss with @TomasVotruba for it :)
Bug Report
Issue
Rector is proposing the following change:
Maybe I missed something in the rules policies, but I was under the impression that Rector should, when possible, provide safe changes? The above is a big BC break because if you have the following call:
Then after the rector change it will no longer work.
Reproducer
I could get this error in this PR theofidry/AliceDataFixtures#294 but to narrow down the issue I extracted theofidry/AliceDataFixtures#297.
Expected Behaviour
I do not think Rector should provide this change by default, or maybe it could by enabling an unsafe flag for the rule?
The text was updated successfully, but these errors were encountered: