rectorphp / rector-phpunit

Rector upgrade rules for PHPUnit
http://getrector.com
MIT License
61 stars 46 forks source link

Fix/158 Add Min php version for WithConsecutiveRector rule #258

Closed eerison closed 10 months ago

eerison commented 10 months ago

Issue #158

TomasVotruba commented 10 months ago

Thank you :+1:

eerison commented 10 months ago

Just for curiosity, how Could I reproduce this error locally? what command is executed in this step?

samsonasik commented 10 months ago

You can test rector/rector:dev-main in next 5 minutes

TomasVotruba commented 10 months ago

We use shared repository for the CI. These are the exact commands:

samsonasik commented 10 months ago

To run composer install, you need to define:


export COMPOSER_ROOT_VERSION=dev-main && composer install
eerison commented 10 months ago

To run composer install, you need to define:

export COMPOSER_ROOT_VERSION=dev-main && composer install

hmmm ok, I will try that :)

samsonasik commented 10 months ago

Yes, once done, you can run:


vendor/bin/rector && composer fix-cs