8000 minor #13098 [2.5] silence deprecation notices in new components (nic… · symfony/symfony@771703d · GitHub
[go: up one dir, main page]

Skip to content

Commit 771703d

Browse files
committed
minor #13098 [2.5] silence deprecation notices in new components (nicolas-grekas)
This PR was merged into the 2.5 branch. Discussion ---------- [2.5] silence deprecation notices in new components | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 6872e51 [2.5] silence deprecation notices in new components
2 parents 2707569 + 6872e51 commit 771703d

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