diff --git a/Tests/Functional/FunctionalTest.php b/Tests/Functional/FunctionalTest.php index f7f45a8e8..5c21c0f03 100644 --- a/Tests/Functional/FunctionalTest.php +++ b/Tests/Functional/FunctionalTest.php @@ -621,7 +621,7 @@ public function testSerializedNameAction() public function testCompoundEntityAction() { - if (PHP_VERSION_ID < 70400) { + if (PHP_VERSION_ID < 70300) { self::assertEquals([ 'schema' => 'CompoundEntity', 'type' => 'object', @@ -652,7 +652,7 @@ public function testCompoundEntityAction() 'items' => [ '$ref' => '#/components/schemas/CompoundEntity', ], - 'nullable' => true, // For some reason, this only exists on PHP < 7.4, which should not be the case. Assuming this to be a bug in PHP. + 'nullable' => true, // For some reason, this only exists on PHP < 7.3, which should not be the case. Assuming this to be a bug in PHP. ], ], ], @@ -668,7 +668,7 @@ public function testCompoundEntityAction() ], [ 'type' => 'string', - 'nullable' => true, // For some reason, this only exists on PHP < 7.4, which should not be the case. Assuming this to be a bug in PHP. + 'nullable' => true, // For some reason, this only exists on PHP < 7.3, which should not be the case. Assuming this to be a bug in PHP. ], ], ],