From d82e062d171b3d49728c40de522433abf9877121 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 23 Dec 2014 07:43:53 +0100 Subject: [PATCH] [FrameworkBundle] forward error reporting level to insulated Client --- src/Symfony/Bundle/FrameworkBundle/Client.php | 4 ++++ src/Symfony/Component/HttpKernel/Client.php | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/Symfony/Bundle/FrameworkBundle/Client.php b/src/Symfony/Bundle/FrameworkBundle/Client.php index a3e5d5184e..4f569131ad 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Client.php +++ b/src/Symfony/Bundle/FrameworkBundle/Client.php @@ -160,9 +160,13 @@ class Client extends BaseClient $profilerCode = '$kernel->getContainer()->get(\'profiler\')->enable();'; } + $errorReporting = error_reporting(); + $code = <<getFileName()); $symfonyPath = str_replace("'", "\\'", realpath(__DIR__.'/../../..')); + $errorReporting = error_reporting(); $code = <<