Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 1362197

Browse files
[2.5] silence deprecation notices in new components
1 parent 2071121 commit 1362197

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

Acl/phpunit.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
syntaxCheck="false"
1212
bootstrap="vendor/autoload.php"
1313
>
14+
<php>
15+
<!-- Silence E_USER_DEPRECATED (-16385 == -1 & ~E_USER_DEPRECATED) -->
16+
<ini name="error_reporting" value="-16385"/>
17+
</php>
1418
<testsuites>
1519
<testsuite name="Symfony Security Component ACL Test Suite">
1620
<directory>./Tests/</directory>

Core/phpunit.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
syntaxCheck="false"
1212
bootstrap="vendor/autoload.php"
1313
>
14+
<php>
15+
<!-- Silence E_USER_DEPRECATED (-16385 == -1 & ~E_USER_DEPRECATED) -->
16+
<ini name="error_reporting" value="-16385"/>
17+
</php>
1418
<testsuites>
1519
<testsuite name="Symfony Security Component Core Test Suite">
1620
<directory>./Tests/</directory>

Csrf/phpunit.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
syntaxCheck="false"
1212
bootstrap="vendor/autoload.php"
1313
>
14+
<php>
15+
<!-- Silence E_USER_DEPRECATED (-16385 == -1 & ~E_USER_DEPRECATED) -->
16+
<ini name="error_reporting" value="-16385"/>
17+
</php>
1418
<testsuites>
1519
<testsuite name="Symfony Security Component CSRF Test Suite">
1620
<directory>./Tests/</directory>

Http/phpunit.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
syntaxCheck="false"
1212
bootstrap="vendor/autoload.php"
1313
>
14+
<php>
15+
<!-- Silence E_USER_DEPRECATED (-16385 == -1 & ~E_USER_DEPRECATED) -->
16+
<ini name="error_reporting" value="-16385"/>
17+
</php>
1418
<testsuites>
1519
<testsuite name="Symfony Security Component HTTP Test Suite">
1620
<directory>./Tests/</directory>

0 commit comments

Comments
 (0)