Skip to content
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

Allow installation only with the most recent versions for dev dependencies #744

Merged

Conversation

sanmai
Copy link
Member

@sanmai sanmai commented Jul 12, 2019

Just like #743, but for dev dependencies only.

This should not affect a .phar build in any way as it uses these versions anyways.
@sanmai sanmai requested a review from maks-rafalko July 12, 2019 05:44
@@ -59,8 +59,8 @@
"symfony/process": "3.4.2"
},
"require-dev": {
"helmich/phpunit-json-assert": "^2.1 || ^3.0",
"phpunit/phpunit": "^8"
"helmich/phpunit-json-assert": "^3.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.x is the only version that supports PHPUnit 8; we can't use 2.x in any case

"helmich/phpunit-json-assert": "^2.1 || ^3.0",
"phpunit/phpunit": "^8"
"helmich/phpunit-json-assert": "^3.0",
"phpunit/phpunit": "^8.2.4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

I understand developers have different opinions on this, but personally, I always use full version constraints (i.e., major.minor.patch). In my opinion, this documents awareness of features and bug fixes well.

Copy link
Member

@localheinz localheinz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sanmai sanmai merged commit f66c578 into infection:master Jul 12, 2019
@sanmai sanmai deleted the pr/201907/composer-bump-versions-dev-only branch July 12, 2019 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants