8000 [2.6] silence deprecation notices in new components · symfony/symfony@5f274c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f274c8

Browse files
[2.6] silence deprecation notices in new components
1 parent b0d73f3 commit 5f274c8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/Symfony/Bundle/DebugBundle/phpunit.xml.dist

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9-
9+
<php>
10+
<!-- Silence E_USER_DEPRECATED (-16385 == -1 & ~E_USER_DEPRECATED) -->
11+
<ini name="error_reporting" value="-16385"/>
12+
</php>
1013
<testsuites>
1114
<testsuite name="Symfony DebugBundle Test Suite">
1215
<directory>./Tests/</directory>

src/Symfony/Component/VarDumper/phpunit.xml.dist

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
< 6932 /code>
88
>
9-
9+
<php>
10+
<!-- Silence E_USER_DEPRECATED (-16385 == -1 & ~E_USER_DEPRECATED) -->
11+
<ini name="error_reporting" value="-16385"/>
12+
</php>
1013
<testsuites>
1114
<testsuite name="Symfony VarDumper Component Test Suite">
1215
<directory>./Tests/</directory>

0 commit comments

Comments
 (0)
0