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

Skip to content

Commit ce1499a

Browse files
[2.5] silence deprecation notices in new components
1 parent 2707569 commit ce1499a

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

src/Symfony/Component/ExpressionLanguage/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 ExpressionLanguage Component Test Suite">
1620
<directory>./Tests/</directory>

src/Symfony/Component/Security/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>

src/Symfony/Component/Security/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>

src/Symfony/Component/Security/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>

src/Symfony/Component/Security/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)
0