Skip to content

Commit 11ba901

Browse files
author
David Fuhr
committed
Adjust error_reporting to allow deprecation messages for 3.0
1 parent d277c16 commit 11ba901

File tree

30 files changed

+177
-0
lines changed

30 files changed

+177
-0
lines changed

phpunit.xml.dist

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
bootstrap="autoload.php.dist"
88
>
99
<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+
1014
<ini name="intl.default_locale" value="en"/>
1115
<ini name="intl.error_level" value="0"/>
1216
<ini name="memory_limit" value="-1"/>

src/Symfony/Component/BrowserKit/phpunit.xml.dist

+6
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 BrowserKit Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/ClassLoader/phpunit.xml.dist

+6
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 ClassLoader Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Config/phpunit.xml.dist

+6
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 Config Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Console/phpunit.xml.dist

+6
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 Console Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/CssSelector/phpunit.xml.dist

+6
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 CssSelector Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Debug/phpunit.xml.dist

+6
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 Debug Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/DependencyInjection/phpunit.xml.dist

+6
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 DependencyInjection Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/DomCrawler/phpunit.xml.dist

+6
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 DomCrawler Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/EventDispatcher/phpunit.xml.dist

+6
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 EventDispatcher Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/ExpressionLanguage/phpunit.xml.dist

+6
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 ExpressionLanguage Component Test Suite">
1622
<directory>./Tests/</directory>

src/Symfony/Component/Filesystem/phpunit.xml.dist

+6
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 Filesystem Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Finder/phpunit.xml.dist

+6
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 Finder Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Form/phpunit.xml.dist

+6
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 Form Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/HttpFoundation/phpunit.xml.dist

+6
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 HttpFoundation Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/HttpKernel/phpunit.xml.dist

+6
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 HttpKernel Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Intl/phpunit.xml.dist

+6
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 Intl Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Locale/phpunit.xml.dist

+6
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 Locale Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/OptionsResolver/phpunit.xml.dist

+6
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 OptionsResolver Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Process/phpunit.xml.dist

+6
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 Process Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/PropertyAccess/phpunit.xml.dist

+6
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 PropertyAccess Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Routing/phpunit.xml.dist

+6
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 Routing Component Test Suite">
1117
<directory>./Tests/</directory>

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

+6
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 Security Component Test Suite">
1117
<directory>./Acl/Tests/</directory>

src/Symfony/Component/Serializer/phpunit.xml.dist

+6
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 Serializer Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Stopwatch/phpunit.xml.dist

+6
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 Stopwatch Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Templating/phpunit.xml.dist

+6
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 Templating Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Translation/phpunit.xml.dist

+6
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 Translation Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/Validator/phpunit.xml.dist

+6
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 Validator Component Test Suite">
1117
<directory>./Tests/</directory>

src/Symfony/Component/VarDumper/phpunit.xml.dist

+5
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 VarDumper Component Test Suite">

src/Symfony/Component/Yaml/phpunit.xml.dist

+6
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 Yaml Component Test Suite">
1117
<directory>./Tests/</directory>

0 commit comments

Comments
 (0)