craftcms / rector

Rector rules for updating plugins and modules to Craft CMS 4.
19 stars 6 forks source link

fatal error with rector/rector:0.17.1 #14

Open oknate opened 1 year ago

oknate commented 1 year ago

Description

not compatible with rector/rector:0.17.1 https://github.com/craftcms/rector/actions/runs/5268744494/jobs/9525881470

can be run if you downgrade ddev composer require rector/rector:0.17.0 --dev

[ERROR] Class "Rector\Arguments\ValueObject\RemoveMethodCallParam" not found

Steps to reproduce

  1. install using composer require craftcms/rector:dev-main --dev 2.Run vendor/bin/rector process src --config vendor/craftcms/rector/sets/craft-cms-40.php

Additional info

TomasVotruba commented 1 year ago

Thanks for reporting. Could you try with rector dev-main? I made few fixes, so it might require new Rector release :)