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

Drop PHP 7.1 support in ES-PHP 8.0? #1086

Closed
reedy opened this issue Dec 2, 2020 · 5 comments
Closed

Drop PHP 7.1 support in ES-PHP 8.0? #1086

reedy opened this issue Dec 2, 2020 · 5 comments

Comments

@reedy
Copy link
Contributor

reedy commented Dec 2, 2020

As mentioned in #1084

PHP 7.1 is EOL for about a year now. Can we drop support for it?

To cover properly PHP 7.4/8.0 in PHPUnit we need to upgrade to PHPUnit 8.0, which also drops 7.1 support

https://phpunit.de/supported-versions.html

@reedy
Copy link
Contributor Author

reedy commented Dec 2, 2020

Though it looks like with #1063 having "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", doesn't necessarily cause compatability issues...

@ezimuel
Copy link
Contributor

ezimuel commented Dec 9, 2020

@reedy I know that PHP 7.1 is EOL but I cannot drop 7.1 support since this will be a breaking change. I'm working on #1063 and we can use different versions of PHPUnit using the or (||) operator in composer.

@reedy
Copy link
Contributor Author

reedy commented Dec 9, 2020

Bumping to 8 is a major version... So that's the kind of time you do a breaking change :)

@ezimuel
Copy link
Contributor

ezimuel commented Dec 9, 2020

@reedy I cannot remove the support of PHP 7.1 until I'll release elasticsearch-php 8.0.0. This will happen in 2021, since the version of the PHP client must be aligned with the release schedule of Elasticsearch.
We will support PHP 8 starting from elasticsearch-php 7.11.0. Maybe I was not enough clear in my previous comment, sorry.

@ezimuel ezimuel closed this as completed Dec 9, 2020
@grizzm0
Copy link

grizzm0 commented Dec 12, 2020

@reedy I know that PHP 7.1 is EOL but I cannot drop 7.1 support since this will be a breaking change. I'm working on #1063 and we can use different versions of PHPUnit using the or (||) operator in composer.

Bumping the PHP version to 7.4 is not really considered a BC break. People on 7.1 will keep getting the prior version that is compatible with their environment.

Some references on this matter

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

No branches or pull requests

3 participants