Closed sunscreem closed 6 months ago
It maybe the same issue as https://github.com/craftcms/rector/pull/19, however I can confirm my vendor/craftcms/rector/composer.json
is requiring "rector/rector": "^0.19.2"
@sunscreem this can also be resolved by downgrading phpstan and phpdoc-parser:
"require-dev": {
...
"phpstan/phpdoc-parser": "1.26.0",
"phpstan/phpstan": "1.10.60",
}
@johnnynotsolucky @TomasVotruba All working now - using latest version. Thank you both.
Description
I'm upgrading a Craft 4 site to Craft 5 and following their instructions for upgrading a custom plugin.
When running
vendor/bin/rector process [directory] --config vendor/craftcms/rector/sets/craft-cms-50.php
the process seems to run okay (the progress bar appears). Then I get this error multiple times (different file names) and no changes are made.Steps to reproduce
Additional info
The version of the this I'm using is
dev-main