From 6a87ad3d6ec004049b04bb93f5f19b4b6fea8f38 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 6 Apr 2015 10:42:23 +0200 Subject: [PATCH] [Debug] Skip unsilencing test on PHP7 --- src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php b/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php index 1d6f6b4715bd..efa5d14cc2f3 100644 --- a/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php +++ b/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php @@ -61,6 +61,10 @@ public function testIdempotence() public function testUnsilencing() { + if (PHP_VERSION_ID >= 70000) { + $this->markTestSkipped('PHP7 throws exceptions, unsilencing is not required anymore.'); + } + ob_start(); $this->iniSet('log_errors', 0);