summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Flothmann <christian.flothmann@xabbuh.de>2014-11-29 16:15:10 +0100
committerChristian Flothmann <christian.flothmann@xabbuh.de>2014-11-29 16:15:10 +0100
commit44b26749a2ce179b973e1619739c6ada79fb26ff (patch)
treebee64da65acbd9621ccf1ef801c0eaf7976fbeca
parent117572e3e0041124f0c4afeeea6de992301b5ce8 (diff)
downloadsymfony-security-44b26749a2ce179b973e1619739c6ada79fb26ff.zip
symfony-security-44b26749a2ce179b973e1619739c6ada79fb26ff.tar.gz
symfony-security-44b26749a2ce179b973e1619739c6ada79fb26ff.tar.bz2
[PHPUnit] ignore E_USER_DEPRECATED notices
This updates the PHPUnit configuration files that have not been updated in #12705.
-rw-r--r--Acl/phpunit.xml.dist6
-rw-r--r--Core/phpunit.xml.dist6
-rw-r--r--Csrf/phpunit.xml.dist6
-rw-r--r--Http/phpunit.xml.dist6
4 files changed, 24 insertions, 0 deletions
diff --git a/Acl/phpunit.xml.dist b/Acl/phpunit.xml.dist
index 6520948..20d1b80 100644
--- a/Acl/phpunit.xml.dist
+++ b/Acl/phpunit.xml.dist
@@ -11,6 +11,12 @@
syntaxCheck="false"
bootstrap="vendor/autoload.php"
>
+ <php>
+ <!-- Disable E_USER_DEPRECATED until 3.0 -->
+ <!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
+ <ini name="error_reporting" value="-16385"/>
+ </php>
+
<testsuites>
<testsuite name="Symfony Security Component ACL Test Suite">
<directory>./Tests/</directory>
diff --git a/Core/phpunit.xml.dist b/Core/phpunit.xml.dist
index f085b72..7a5f7da 100644
--- a/Core/phpunit.xml.dist
+++ b/Core/phpunit.xml.dist
@@ -11,6 +11,12 @@
syntaxCheck="false"
bootstrap="vendor/autoload.php"
>
+ <php>
+ <!-- Disable E_USER_DEPRECATED until 3.0 -->
+ <!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
+ <ini name="error_reporting" value="-16385"/>
+ </php>
+
<testsuites>
<testsuite name="Symfony Security Component Core Test Suite">
<directory>./Tests/</directory>
diff --git a/Csrf/phpunit.xml.dist b/Csrf/phpunit.xml.dist
index 0718c76..f6e9005 100644
--- a/Csrf/phpunit.xml.dist
+++ b/Csrf/phpunit.xml.dist
@@ -11,6 +11,12 @@
syntaxCheck="false"
bootstrap="vendor/autoload.php"
>
+ <php>
+ <!-- Disable E_USER_DEPRECATED until 3.0 -->
+ <!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
+ <ini name="error_reporting" value="-16385"/>
+ </php>
+
<testsuites>
<testsuite name="Symfony Security Component CSRF Test Suite">
<directory>./Tests/</directory>
diff --git a/Http/phpunit.xml.dist b/Http/phpunit.xml.dist
index a735efd..58fe58e 100644
--- a/Http/phpunit.xml.dist
+++ b/Http/phpunit.xml.dist
@@ -11,6 +11,12 @@
syntaxCheck="false"
bootstrap="vendor/autoload.php"
>
+ <php>
+ <!-- Disable E_USER_DEPRECATED until 3.0 -->
+ <!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
+ <ini name="error_reporting" value="-16385"/>
+ </php>
+
<testsuites>
<testsuite name="Symfony Security Component HTTP Test Suite">
<directory>./Tests/</directory>