Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Expire comment by composer dependency package version #32
Expire comment by composer dependency package version #32
Changes from 15 commits
c85ae06
1289808
5cdb348
d384d42
f1fde82
2891c10
d8bacae
cb4b93e
7b96561
79b203f
22fb8a3
53033cb
b914fb9
82a6dd2
4361974
3610c7f
f0dc417
d1bb09e
ed649ef
77b330d
26a8e02
46e134f
c0471d7
13e7f84
2f0391c
5bca9e3
bae0840
50fa3cc
9fb1672
6f1efbe
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
actually I've done my check the other way around, and the rule fails when constraint is satisfied
I think it reads better: "please phpstan, fail when phpunit meets this dependency"
About this specific todo:
phpunit/phpunit:5.3.*
, I think it would not fail when phpunit is at 5.3.*but it will if we have phpunit>=5.4.0 and phpunit<5.3, which seems pretty strange
My take was to always add
>=
if the constraint does not specifies itThere 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.
wouldn't this test fail when using 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.
right, I had had the logic reversed. I think all feedback is addressed now
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.
and now your rule looks even closer from mine 😅