Skip to content

Commit 4cc6104

Browse files
Merge branch '4.4' into 5.2
* 4.4: [PhpUnitBridge] fix PHP version check keep container.service_subscriber tag on the decorated definition
2 parents 623bf9d + 0b7c5b6 commit 4cc6104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)