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:
Fabien Potencier 2015-02-24 18:38:20 +01:00
commit cea862935c
1 changed files with 1 additions and 1 deletions

View File

@ -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';