8000 [PhpUnitBridge] fix PHP version check · symfony/symfony@42e4736 · GitHub
[go: up one dir, main page]

Skip to content

Commit 42e4736

Browse files
[PhpUnitBridge] fix PHP version check
1 parent ce7d3c4 commit 42e4736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/PhpUnit/ConstraintTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ trait ConstraintTrait
2525
{
2626
use Legacy\ConstraintTraitForV7;
2727
}
28-
} elseif (\PHP_VERSION < 70100 || !$r->getMethod('evaluate')->hasReturnType()) {
28+
} elseif (\PHP_VERSION_ID < 70100 || !$r->getMethod('evaluate')->hasReturnType()) {
2929
trait ConstraintTrait
3030
{
3131
use Legacy\ConstraintTraitForV8;

0 commit comments

Comments
 (0)
0