Closed
Description
The ConstraintOptionsToNamedArgumentsRector
seems a bit too aggressive with refactoring, for example:
7) src/SomeFile.php
---------- begin diff ----------
@@ @@
- $errors = $this->validator->validate($something, null, new GroupSequence(['Default', 'create']));
+ $errors = $this->validator->validate($something, null, new GroupSequence());
if (\count($errors) > 0) {
throw new ValidationException($errors);
}
----------- end diff -----------
Applied rules:
* ConstraintOptionsToNamedArgumentsRector
Metadata
Metadata
Assignees
Labels
No labels