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

Remove support for old PHP versions #156

Merged
merged 1 commit into from
Mar 22, 2016

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Feb 2, 2016

This PR drops support for PHP 5.4, which is no longer supported. The version constraint in composer.json is also updated to allow PHP 7. While ODM does not officially support PHP 7 (due to lack of support of the legacy MongoDB driver it relies on), this allows people to use polyfills for ext-mongo and continue using ODM.

@gianarb
Copy link
Contributor

gianarb commented Feb 2, 2016

👍

@@ -38,7 +38,7 @@
}
],
"require": {
"php": ">=5.4",
"php": "~5.5 || ~7.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

How can you claim version 7 is supported if you're not testing it? There should be a symmetric change in .travis.yml.

Copy link
Member Author

Choose a reason for hiding this comment

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

Allow me to quote myself:

While ODM does not officially support PHP 7 (due to lack of support of the legacy MongoDB driver it relies on), this allows people to use polyfills for ext-mongo and continue using ODM.

@gianarb
Copy link
Contributor

gianarb commented Mar 22, 2016

Thanks @alcaeus

gianarb pushed a commit that referenced this pull request Mar 22, 2016
Remove support for old PHP versions
@gianarb gianarb merged commit 00317f6 into doctrine:master Mar 22, 2016
@alcaeus alcaeus deleted the remove-old-php-version branch March 28, 2016 18:16
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.

3 participants