Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dcc1103

Browse files
committed
[PHPUnit] ignore E_USER_DEPRECATED notices
This updates the PHPUnit configuration files that have not been updated in symfony#12705.
1 parent ebcf5dc commit dcc1103

File tree

14 files changed

+80
-0
lines changed

14 files changed

+80
-0
lines changed

src/Symfony/Bridge/Doctrine/phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
colors="true"
77
bootstrap="Tests/bootstrap.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
14+
915
<testsuites>
1016
<testsuite name="Symfony Doctrine Bridge Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Bridge/Monolog/phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
14+
915
<testsuites>
1016
<testsuite name="Symfony Monolog Bridge Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Bridge/Propel1/phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
14+
915
<testsuites>
1016
<testsuite name="Symfony Propel1 Bridge Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Bridge/ProxyManager/phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
14+
915
<testsuites>
1016
<testsuite name="Symfony ProxyManager Bridge Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Bridge/Twig/phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
14+
915
<testsuites>
1016
<testsuite name="Symfony Twig Bridge Test Suite">
1117
<directory>./Tests/</directory>

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
914

1015
<testsuites>
1116
<testsuite name="Symfony DebugBundle Test Suite">

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
14+
915
<testsuites>
1016
<testsuite name="Symfony FrameworkBundle Test Suite">
1117
<directory>./Tests/</directory>

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
914

1015
<testsuites>
1116
<testsuite name="Symfony SecurityBundle Test Suite">

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
914

1015
<testsuites>
1116
<testsuite name="Symfony TwigBundle Test Suite">

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
914

1015
<testsuites>
1116
<testsuite name="Symfony WebProfilerBundle Test Suite">

src/Symfony/Component/Security/Acl/phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
syntaxCheck="false"
1212
bootstrap="vendor/autoload.php"
1313
>
14+
<php>
15+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
16+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
17+
<ini name="error_reporting" value="-16385"/>
18+
</php>
19+
1420
<testsuites>
1521
<testsuite name="Symfony Security Component ACL Test Suite">
1622
<directory>./Tests/</directory>

src/Symfony/Component/Security/Core/phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
syntaxCheck="false"
1212
bootstrap="vendor/autoload.php"
1313
>
14+
<php>
15+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
16+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
17+
<ini name="error_reporting" value="-16385"/>
18+
</php>
19+
1420
<testsuites>
1521
<testsuite name="Symfony Security Component Core Test Suite">
1622
<directory>./Tests/</directory>

src/Symfony/Component/Security/Csrf/phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
syntaxCheck="false"
1212
bootstrap="vendor/autoload.php"
1313
>
14+
<php>
15+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
16+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
17+
<ini name="error_reporting" value="-16385"/>
18+
</php>
19+
1420
<testsuites>
1521
<testsuite name="Symfony Security Component CSRF Test Suite">
1622
<directory>./Tests/</directory>

src/Symfony/Component/Security/Http/phpunit.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
syntaxCheck="false"
1212
bootstrap="vendor/autoload.php"
1313
>
14+
<php>
15+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
16+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
17+
<ini name="error_reporting" value="-16385"/>
18+
</php>
19+
1420
<testsuites>
1521
<testsuite name="Symfony Security Component HTTP Test Suite">
1622
<directory>./Tests/</directory>

0 commit comments

Comments
 (0)