fatal error with rector/rector:0.17.1
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 17
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
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
- install using
composer require craftcms/rector:dev-main --dev
2.Runvendor/bin/rector process src --config vendor/craftcms/rector/sets/craft-cms-40.php
Additional info
- Craft version: 4
- PHP version: 8.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with composer require craftcms/rector:dev-main --dev and vendor/bin/rector process src --config vendor/craftcms/rector/sets/craft-cms-40.php, comparing Rector 0.17.1 with the working 0.17.0 downgrade. Use the linked GitHub Actions run and the missing RemoveMethodCallParam class as the starting evidence; done means the process completes successfully with Rector 0.17.1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100