Closed danielbachhuber closed 6 years ago
@ataylorme I don't know that updating the minimum tested PHP version necessarily means we need to update the minimum supported PHP version. The plugin currently deactivates itself for < PHP 5.4:
@danielbachhuber I will make time to test this manually on PHP 5.6
. Even if Solarium works at PHP 5.6
I am in still in favor of bumping the minimum required version to 7.1
as PHP 5.6
and 7.0
will be at end of life and lose security support in December.
@ataylorme Ok. Should I update the minimum to 5.6 then?
I'll test on 5.6
but even if it works I would like to require 7.1
for security reasons. As the version bump to 2.0.0
is a good time to introduce such a change rather than going to version 3.0.0
in December when PHP 5.6
hits its end of life.
I'll test on 5.6 but even if it works I would like to require 7.1 for security reasons.
Why/how are you going to test on 5.6 if we block plugin activation for less than 7.1?
Why/how are you going to test on 5.6 if we block plugin activation for less than 7.1?
It is more to satisfy my curiosity than out of necessity - I would like to know if Solarium works with 5.6
even though it requires 7.1
through Composer. They may be requiring 7.1
for security reasons, not compatibility reasons.
I'll manually remove the disable check and test on a multidev with PHP version 5.6
. Even if 5.6
is not officially supported in Solr Power it would be nice to know if it works. We could document as much in the readme but reccomend people to use 7.1
.
If it does work with PHP 5.6
we can decrease the activation block to anything less than 5.6
.
If it does work with PHP 5.6 we can decrease the activation block to anything less than 5.6.
I tested and confirmed that
5.6
: Fatal error: Default value for parameters with a class type hint can only be NULL in wp-content/plugins/solr-power/vendor/solarium/solarium/src/Component/RequestBuilder/RequestParamsTrait.php on line 149
7.0
, 7.1
and 7.2
have no errors7.0
, 7.1
and 7.2
Please move forward with PHP 7.1
as the minimum/required version
👍 Sounds good. Updated in 7e9d67a
Well, the PHP version check works. CircleCI failed because the multidev created had PHP 7.0
. Upgrading to PHP 7.2
and trying again.
Solarium is now at 4.1.0
Fixes #370