From 986cfc6580740c21947177bb32b9f836869ec975 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 25 Nov 2019 11:39:47 +0100 Subject: [PATCH] skip test on incompatible PHP versions --- .../Tests/Compiler/CheckTypeDeclarationsPassTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php index 40f65f0e31..b012a65625 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php @@ -392,7 +392,10 @@ class CheckTypeDeclarationsPassTest extends TestCase $this->addToAssertionCount(1); } - public function testProcessSuccessWhenPassingDefintionForObjectType() + /** + * @requires PHP 7.2 + */ + public function testProcessSuccessWhenPassingDefinitionForObjectType() { $container = new ContainerBuilder();