Skip to content

Commit cea8629

Browse files
committed
bug #13779 [FrameworkBundle] silence E_USER_DEPRECATED in insulated clients (nicolas-grekas)
This PR was merged into the 2.3 branch. Discussion ---------- [FrameworkBundle] silence E_USER_DEPRECATED in insulated clients | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 7558c23 [FrameworkBundle] silence E_USER_DEPRECATED in insulated clients
2 parents 4a638a4 + 7558c23 commit cea8629

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)