Skip to content

Commit 36ba35e

Browse files
[2.3] require-dev PHPUnit bridge
1 parent a527b20 commit 36ba35e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ protected function getScript($request)
107107
$code = <<<EOF
108108
<?php
109109
110-
error_reporting($errorReporting);
110+
error_reporting($errorReporting | ~E_USER_DEPRECATED);
111111
112112
require_once '$requirePath';
113113

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"psr/log": "~1.0"
2424
},
2525
"require-dev": {
26+
"symfony/phpunit-bridge": "~2.7",
2627
"symfony/browser-kit": "~2.3",
2728
"symfony/class-loader": "~2.1",
2829
"symfony/config": "~2.0,>=2.0.5",

phpunit.xml.dist

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
bootstrap="vendor/autoload.php"
88
>
99
<php>
10-
<!-- Silence E_USER_DEPRECATED (-16385 == -1 & ~E_USER_DEPRECATED) -->
11-
<ini name="error_reporting" value="-16385"/>
10+
<ini name="error_reporting" value="-1" />
1211
</php>
1312
<testsuites>
1413
<testsuite name="Symfony HttpKernel Component Test Suite">

0 commit comments

Comments
 (0)