From 995245808f1a38e3dc3f00863169c8e8068a2b0f Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 7 Jan 2021 18:08:20 +0100 Subject: [PATCH] fix PHP 8 compatibility --- .../Tests/Compiler/CheckTypeDeclarationsPassTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php index d331c648d1..058a9f6298 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php @@ -916,7 +916,7 @@ class CheckTypeDeclarationsPassTest extends TestCase ->setArguments([true]); $this->expectException(\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException::class); - $this->expectExceptionMessage('Invalid definition for service "union": argument 1 of "Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass\UnionConstructor::create()" accepts "array|false", "boolean" passed.'); + $this->expectExceptionMessage('Invalid definition for service "union": argument 1 of "Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass\UnionConstructor::create()" accepts "array|false", "bool" passed.'); (new CheckTypeDeclarationsPass(true))->process($container); }