Closed eerison closed 10 months ago
This looks good, thank you :+1:
I've just triggered the CI to see the tests.
Could you fix the PHPStan errors?
Yep, I'm on that ;)
finally 😄
Thank you, this looks great 😃
Hey @TomasVotruba
is there anyway to use dev-main ?
because when I run
composer req --dev rector/rector-phpunit:dev-main
I got this
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires rector/rector-phpunit dev-main -> satisfiable by rector/rector-phpunit[dev-main].
- rector/rector-phpunit dev-main requires php >=8.1 -> your php version (7.4; overridden via config.platform, actual: 7.4.33) does not satisfy that requirement.
and it is not in my dependencies 😮
/app $ composer info rector/*
rector/rector 0.18.3 Instant Upgrade and Automated Refactoring of any PHP code
rector-phpunit
is inside rector/rector
in prefixed vendor
https://github.com/rectorphp/rector/tree/main/vendor/rector/rector-phpunit
You can test with:
composer require --dev rector/rector:dev-main
rector-phpunit
is insiderector/rector
in prefixed vendorhttps://github.com/rectorphp/rector/tree/main/vendor/rector/rector-phpunit
You can test with:
composer require --dev rector/rector:dev-main
Thank you @samsonasik for the info, I will do that :)
I did't change this rule, because it's fixing a specific deprecation for phpunit, that assertEquals does not accept delta argument, for the new versions.
Then I prefer to create a new rule.
Close #256