summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2015-01-13 15:17:46 +0100
committerNicolas Grekas <nicolas.grekas@gmail.com>2015-02-18 11:38:04 +0100
commit3f4445d6fc2a41eb27b342fbbf0a6eafeeb80b40 (patch)
tree883a12709c863e6cefde55b91909945c4d483d6e
parent6fa94f258d7739d5b5c6063716725204c6745a87 (diff)
downloadsymfony-security-3f4445d6fc2a41eb27b342fbbf0a6eafeeb80b40.zip
symfony-security-3f4445d6fc2a41eb27b342fbbf0a6eafeeb80b40.tar.gz
symfony-security-3f4445d6fc2a41eb27b342fbbf0a6eafeeb80b40.tar.bz2
[PhpUnitBridge] new bridge for testing with PHPUnit
-rw-r--r--Acl/composer.json1
-rw-r--r--Acl/phpunit.xml.dist4
-rw-r--r--Core/composer.json1
-rw-r--r--Core/phpunit.xml.dist4
-rw-r--r--Csrf/composer.json1
-rw-r--r--Csrf/phpunit.xml.dist4
-rw-r--r--Http/composer.json1
-rw-r--r--Http/phpunit.xml.dist4
-rw-r--r--composer.json1
-rw-r--r--phpunit.xml.dist4
10 files changed, 10 insertions, 15 deletions
diff --git a/Acl/composer.json b/Acl/composer.json
index 4325d8c..2c0401f 100644
--- a/Acl/composer.json
+++ b/Acl/composer.json
@@ -20,6 +20,7 @@
"symfony/security-core": "~2.4|~3.0.0"
},
"require-dev": {
+ "symfony/phpunit-bridge": "~2.7|~3.0.0",
"doctrine/common": "~2.2",
"doctrine/dbal": "~2.2",
"psr/log": "~1.0"
diff --git a/Acl/phpunit.xml.dist b/Acl/phpunit.xml.dist
index 20d1b80..7552339 100644
--- a/Acl/phpunit.xml.dist
+++ b/Acl/phpunit.xml.dist
@@ -12,9 +12,7 @@
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"/>
+ <ini name="error_reporting" value="-1" />
</php>
<testsuites>
diff --git a/Core/composer.json b/Core/composer.json
index 4541f41..f5e3179 100644
--- a/Core/composer.json
+++ b/Core/composer.json
@@ -19,6 +19,7 @@
"php": ">=5.3.9"
},
"require-dev": {
+ "symfony/phpunit-bridge": "~2.7|~3.0.0",
"symfony/event-dispatcher": "~2.1|~3.0.0",
"symfony/expression-language": "~2.6|~3.0.0",
"symfony/http-foundation": "~2.4|~3.0.0",
diff --git a/Core/phpunit.xml.dist b/Core/phpunit.xml.dist
index 7a5f7da..8a1a291 100644
--- a/Core/phpunit.xml.dist
+++ b/Core/phpunit.xml.dist
@@ -12,9 +12,7 @@
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"/>
+ <ini name="error_reporting" value="-1" />
</php>
<testsuites>
diff --git a/Csrf/composer.json b/Csrf/composer.json
index 7fd71af..4d4ff6a 100644
--- a/Csrf/composer.json
+++ b/Csrf/composer.json
@@ -20,6 +20,7 @@
"symfony/security-core": "~2.4|~3.0.0"
},
"require-dev": {
+ "symfony/phpunit-bridge": "~2.7|~3.0.0",
"symfony/http-foundation": "~2.1|~3.0.0"
},
"suggest": {
diff --git a/Csrf/phpunit.xml.dist b/Csrf/phpunit.xml.dist
index f6e9005..8f950a3 100644
--- a/Csrf/phpunit.xml.dist
+++ b/Csrf/phpunit.xml.dist
@@ -12,9 +12,7 @@
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"/>
+ <ini name="error_reporting" value="-1" />
</php>
<testsuites>
diff --git a/Http/composer.json b/Http/composer.json
index 007ae75..80a0387 100644
--- a/Http/composer.json
+++ b/Http/composer.json
@@ -23,6 +23,7 @@
"symfony/http-kernel": "~2.4|~3.0.0"
},
"require-dev": {
+ "symfony/phpunit-bridge": "~2.7|~3.0.0",
"symfony/routing": "~2.2|~3.0.0",
"symfony/security-csrf": "~2.4|~3.0.0",
"psr/log": "~1.0"
diff --git a/Http/phpunit.xml.dist b/Http/phpunit.xml.dist
index 58fe58e..49b36f2 100644
--- a/Http/phpunit.xml.dist
+++ b/Http/phpunit.xml.dist
@@ -12,9 +12,7 @@
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"/>
+ <ini name="error_reporting" value="-1" />
</php>
<testsuites>
diff --git a/composer.json b/composer.json
index 946cb72..af7fad7 100644
--- a/composer.json
+++ b/composer.json
@@ -28,6 +28,7 @@
"symfony/security-http": "self.version"
},
"require-dev": {
+ "symfony/phpunit-bridge": "~2.7|~3.0.0",
"symfony/intl": "~2.3|~3.0.0",
"symfony/routing": "~2.2|~3.0.0",
"symfony/translation": "~2.0,>=2.0.5|~3.0.0",
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 7cbf08a..7747b37 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -7,9 +7,7 @@
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"/>
+ <ini name="error_reporting" value="-1" />
</php>
<testsuites>