Skip to content

Commit 49ef8b3

Browse files
author
Bruno Vitorino
committed
Add phpunit bridge
1 parent 3a259e5 commit 49ef8b3

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"tijsverkoyen/css-to-inline-styles": "^2.2"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "^5.7",
31-
"roave/security-advisories": "dev-master"
30+
"roave/security-advisories": "dev-master",
31+
"symfony/phpunit-bridge": "^4.3"
3232
},
3333
"autoload": {
3434
"psr-0": { "SumoCoders\\FrameworkCoreBundle": "" }

phpunit.xml.dist

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
4+
backupGlobals="false"
5+
colors="true"
6+
bootstrap="./vendor/autoload.php"
7+
>
8+
<php>
9+
<ini name="error_reporting" value="-1"/>
10+
<ini name="intl.default_locale" value="en"/>
11+
<ini name="intl.error_level" value="0"/>
12+
<ini name="memory_limit" value="-1"/>
13+
<!-- the value is the FQCN of the application kernel -->
14+
<env name="KERNEL_CLASS" value="AppKernel" />
15+
</php>
16+
17+
<testsuites>
18+
<testsuite name="FrameworkCoreBundle test suite">
19+
<directory suffix="Test.php">./Tests</directory>
20+
</testsuite>
21+
</testsuites>
22+
23+
<filter>
24+
<whitelist>
25+
<directory>./</directory>
26+
<exclude>
27+
<directory>./Resources</directory>
28+
<directory>./Tests</directory>
29+
<directory>./vendor</directory>
30+
</exclude>
31+
</whitelist>
32+
</filter>
33+
34+
<logging>
35+
<log type="coverage-clover" target="./coverage.xml"/>
36+
</logging>
37+
</phpunit>

0 commit comments

Comments
 (0)