Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 3f4445d

Browse files
[PhpUnitBridge] new bridge for testing with PHPUnit
1 parent 6fa94f2 commit 3f4445d

File tree

10 files changed

+10
-15
lines changed

10 files changed

+10
-15
lines changed

Acl/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"symfony/security-core": "~2.4|~3.0.0"
2121
},
2222
"require-dev": {
23+
"symfony/phpunit-bridge": "~2.7|~3.0.0",
2324
"doctrine/common": "~2.2",
2425
"doctrine/dbal": "~2.2",
2526
"psr/log": "~1.0"

Acl/phpunit.xml.dist

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
bootstrap="vendor/autoload.php"
1313
>
1414
<php>
15-
<!-- Disable E_USER_DEPRECATED until 3.0 -->
16-
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
17-
<ini name="error_reporting" value="-16385"/>
15+
<ini name="error_reporting" value="-1" />
1816
</php>
1917

2018
<testsuites>

Core/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"php": ">=5.3.9"
2020
},
2121
"require-dev": {
22+
"symfony/phpunit-bridge": "~2.7|~3.0.0",
2223
"symfony/event-dispatcher": "~2.1|~3.0.0",
2324
"symfony/expression-language": "~2.6|~3.0.0",
2425
"symfony/http-foundation": "~2.4|~3.0.0",

Core/phpunit.xml.dist

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
bootstrap="vendor/autoload.php"
1313
>
1414
<php>
15-
<!-- Disable E_USER_DEPRECATED until 3.0 -->
16-
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
17-
<ini name="error_reporting" value="-16385"/>
15+
<ini name="error_reporting" value="-1" />
1816
</php>
1917

2018
<testsuites>

Csrf/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"symfony/security-core": "~2.4|~3.0.0"
2121
},
2222
"require-dev": {
23+
"symfony/phpunit-bridge": "~2.7|~3.0.0",
2324
"symfony/http-foundation": "~2.1|~3.0.0"
2425
},
2526
"suggest": {

Csrf/phpunit.xml.dist

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
bootstrap="vendor/autoload.php"
1313
>
1414
<php>
15-
<!-- Disable E_USER_DEPRECATED until 3.0 -->
16-
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
17-
<ini name="error_reporting" value="-16385"/>
15+
<ini name="error_reporting" value="-1" />
1816
</php>
1917

2018
<testsuites>

Http/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"symfony/http-kernel": "~2.4|~3.0.0"
2424
},
2525
"require-dev": {
26+
"symfony/phpunit-bridge": "~2.7|~3.0.0",
2627
"symfony/routing": "~2.2|~3.0.0",
2728
"symfony/security-csrf": "~2.4|~3.0.0",
2829
"psr/log": "~1.0"

Http/phpunit.xml.dist

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
bootstrap="vendor/autoload.php"
1313
>
1414
<php>
15-
<!-- Disable E_USER_DEPRECATED until 3.0 -->
16-
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
17-
<ini name="error_reporting" value="-16385"/>
15+
<ini name="error_reporting" value="-1" />
1816
</php>
1917

2018
<testsuites>

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"symfony/security-http": "self.version"
2929
},
3030
"require-dev": {
31+
"symfony/phpunit-bridge": "~2.7|~3.0.0",
3132
"symfony/intl": "~2.3|~3.0.0",
3233
"symfony/routing": "~2.2|~3.0.0",
3334
"symfony/translation": "~2.0,>=2.0.5|~3.0.0",

phpunit.xml.dist

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
bootstrap="vendor/autoload.php"
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"/>
10+
<ini name="error_reporting" value="-1" />
1311
</php>
1412

1513
<testsuites>

0 commit comments

Comments
 (0)