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
When rector checks the given minimal testcase below, the second route annotation will be modified.
The quotes around the string parameter name get removed which is wrong, because
No rector is modifying it (parser issue?)
The first route, though being identical is not touched (inconsistency)
The parameter is a string and as such should not be touched at all (null vs "null" is obviously a difference)
Bug Report
This might be an upstream issue
When rector checks the given minimal testcase below, the second route annotation will be modified.
The quotes around the string parameter
name
get removed which is wrong, becausenull
vs"null"
is obviously a difference)Minimal PHP Code Causing Issue
https://getrector.org/demo/92c921ea-1bd9-40ea-bccd-c3bc9b4a95c8
Expected Behaviour
Code should not get modified at all.
The text was updated successfully, but these errors were encountered: