Bug Report
| Subject |
Details |
| Rector version |
2.1.1 |
Thank you for the new release, it came just an hour before I wondered if there was support for Symfony Constraint constructor deprecations.
For simple constraints the new ConstraintOptionsToNamedArgumentsRector works as expected, but nested constraints are simply removed.
Minimal PHP Code Causing Issue
https://getrector.com/demo/66f4db3c-f1d2-4d9f-8575-778bdc376ac7
Expected Behaviour
The internal constraint should be modified, not removed.