Skip to content

Commit b2ba690

Browse files
[PhpUnitBridge] new bridge for testing with PHPUnit
1 parent 7ecb4f3 commit b2ba690

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

Tests/bootstrap.php

-14
This file was deleted.

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"symfony/translation": "~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
"symfony/intl": "~2.3|~3.0.0",
2526
"symfony/yaml": "~2.0,>=2.0.5|~3.0.0",

phpunit.xml.dist

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
55
backupGlobals="false"
66
colors="true"
7-
bootstrap="Tests/bootstrap.php"
7+
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>
12+
1413
<testsuites>
1514
<testsuite name="Symfony Validator Component Test Suite">
1615
<directory>./Tests/</directory>

0 commit comments

Comments
 (0)