Skip to content

Commit 7558c23

Browse files
[FrameworkBundle] silence E_USER_DEPRECATED in insulated clients
1 parent 4a638a4 commit 7558c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ protected function getScript($request)
165165
$code = <<<EOF
166166
<?php
167167
168-
error_reporting($errorReporting);
168+
error_reporting($errorReporting & ~E_USER_DEPRECATED);
169169
170170
if ('$autoloader') {
171171
require_once '$autoloader';

0 commit comments

Comments
 (0)