From 573d0dd493d494093fd78c20caa252c7da0b2a21 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Thu, 21 May 2020 16:02:48 +0200 Subject: [PATCH] [Debug] Skip test that would trigger a fatal error on php 8. --- src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php b/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php index 86ecf16df0..3cde54b3cd 100644 --- a/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php +++ b/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php @@ -97,6 +97,9 @@ class DebugClassLoaderTest extends TestCase $this->assertStringMatchesFormat('%aParse error%a', $output); } + /** + * @requires PHP < 8.0 + */ public function testStacking() { // the ContextErrorException must not be loaded to test the workaround