[PhpUnitBridge] fix PHP version check

This commit is contained in:
Nicolas Grekas 2021-05-26 19:49:37 +02:00
parent ce7d3c41ae
commit 42e4736e09
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ if (\PHP_VERSION_ID < 70000 || !$r->getMethod('matches')->hasReturnType()) {
{
use Legacy\ConstraintTraitForV7;
}
} elseif (\PHP_VERSION < 70100 || !$r->getMethod('evaluate')->hasReturnType()) {
} elseif (\PHP_VERSION_ID < 70100 || !$r->getMethod('evaluate')->hasReturnType()) {
trait ConstraintTrait
{
use Legacy\ConstraintTraitForV8;