-
-
Notifications
You must be signed in to change notification settings - Fork 5
Use vendor/composer/installed.php
in TodoByPackageVersionRule.php
#147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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. |
@@ -11,7 +11,6 @@ | |||
// 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah that's clever
thank you! |
Fixes #146