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