diff --git a/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php b/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php index 86ecf16df02c..3cde54b3cd1b 100644 --- a/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php +++ b/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php @@ -97,6 +97,9 @@ public function testUnsilencing() $this->assertStringMatchesFormat('%aParse error%a', $output); } + /** + * @requires PHP < 8.0 + */ public function testStacking() { // the ContextErrorException must not be loaded to test the workaround