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
This commit is contained in:
commit
cea862935c
|
@ -165,7 +165,7 @@ class Client extends BaseClient
|
|||
$code = <<<EOF
|
||||
<?php
|
||||
|
||||
error_reporting($errorReporting);
|
||||
error_reporting($errorReporting & ~E_USER_DEPRECATED);
|
||||
|
||||
if ('$autoloader') {
|
||||
require_once '$autoloader';
|
||||
|
|
Reference in New Issue