Use vendor/composer/installed.php in TodoByPackageVersionRule.php#147
Use vendor/composer/installed.php in TodoByPackageVersionRule.php#147staabm merged 1 commit intostaabm:mainfrom
vendor/composer/installed.php in TodoByPackageVersionRule.php#147Conversation
7b0567c to
71bea46
Compare
|
@staabm I think the failing test, is actually a wrong test. How could that ever have worked? Given that |
is it related to the same thing you are fixing here? phpstan-src itself used PHPunit 9.x for a long time and only recently updated to 11.x. maybe the test worked because of the phpunit version in phpstan-src, as it seems it did not use the projects composer.json, as you said? |
|
Yes I believe that is the case. Shall I fix the test? |
|
yes please do |
|
@staabm Done |
3ecbd42 to
1e7e972
Compare
|
It's having issues with my fork, somehow. Not sure how I can resolve this. |
| // TODO: not-installed/package:<5 this should error because package is not in composer.json | ||
|
|
||
| // TODO: phpunit/phpunit:<9 | ||
| // TODO: phpunit/phpunit:<10 |
There was a problem hiding this comment.
just realized after merge: next time don't delete such line but make it empty. that way you don't need unrelated changes in test expectations
|
thank you! |
Fixes #146