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 phpunit v4.8 and above for compatibility with PHP 5.5. #39

Merged
merged 1 commit into from Aug 13, 2016
Merged

Allow phpunit v4.8 and above for compatibility with PHP 5.5. #39

merged 1 commit into from Aug 13, 2016

Conversation

maccath
Copy link
Contributor

@maccath maccath commented Aug 13, 2016

This fixes the compatibility issue mentioned by @oanhnn in #35

Composer was set to require phpunit 5.4 and above, but phpunit 5.4 only supports PHP 5.6+, but Slim 3 support PHP 5.5. The test examples are compatible with phpunit v4, so I have altered composer.json to use the maximum possible version between 4.8 and 6.

@maccath maccath mentioned this pull request Aug 13, 2016
@@ -18,7 +18,7 @@
"monolog/monolog": "^1.17"
},
"require-dev": {
"phpunit/phpunit": "^5.4"
"phpunit/phpunit": ">=4.8 < 6.0"
Copy link
Member

Choose a reason for hiding this comment

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

Why the < 6.0 constraint?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To prevent potential backwards compatibility breaks that might arise from a major update.

@akrabat akrabat merged commit 3524f6a into slimphp:master Aug 13, 2016
@akrabat akrabat added this to the 3.1.1 milestone Aug 13, 2016
@akrabat
Copy link
Member

akrabat commented Aug 13, 2016

3.1.1 released with this fix.

@maccath maccath deleted the test-examples branch September 2, 2016 14:59
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