rector icon indicating copy to clipboard operation
rector copied to clipboard

Could not resolve argument

Open vatichild opened this issue 3 years ago • 1 comments

Hello, after I'm running vendor/bin/rector process src --dry-run it returns an error Could not resolve argument "Rector\Config\RectorConfig $rectorConfig"

vatichild avatar Sep 15 '22 20:09 vatichild

Hi, be sure to use the latest version.

Also check rector.php config for the new syntax: https://getrector.org/blog/new-in-rector-012-introducing-rector-config-with-autocomplete

TomasVotruba avatar Sep 15 '22 20:09 TomasVotruba

RectorConfig exist since 0.12, update to latest

samsonasik avatar Dec 15 '22 14:12 samsonasik