Skip to content

Commit f5a4521

Browse files
committed
minor #13033 [Tests] Silenced all deprecations in tests for 2.3 (saro0h)
This PR was merged into the 2.3 branch. Discussion ---------- [Tests] Silenced all deprecations in tests for 2.3 | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ~ | License | MIT | Doc PR | ~ Also removed src/Symfony/Component/Security/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php as it was not running at all. Commits ------- ef4ae63 [Tests] Silenced all deprecations in tests for 2.3
2 parents c516e75 + da21bcc commit f5a4521

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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 TwigBundle Test Suite">
1215
<directory>./Tests/</directory>

0 commit comments

Comments
 (0)