[PhpUnitBridge] fix PHP version check
This commit is contained in:
parent
ce7d3c41ae
commit
42e4736e09
@ -25,7 +25,7 @@ if (\PHP_VERSION_ID < 70000 || !$r->getMethod('matches')->hasReturnType()) {
|
|||||||
{
|
{
|
||||||
use Legacy\ConstraintTraitForV7;
|
use Legacy\ConstraintTraitForV7;
|
||||||
}
|
}
|
||||||
} elseif (\PHP_VERSION < 70100 || !$r->getMethod('evaluate')->hasReturnType()) {
|
} elseif (\PHP_VERSION_ID < 70100 || !$r->getMethod('evaluate')->hasReturnType()) {
|
||||||
trait ConstraintTrait
|
trait ConstraintTrait
|
||||||
{
|
{
|
||||||
use Legacy\ConstraintTraitForV8;
|
use Legacy\ConstraintTraitForV8;
|
||||||
|
Reference in New Issue
Block a user