Skip to content

Commit eef2f7c

Browse files
smnandreweaverryan
authored andcommitted
[Twig][Live] Migrate PHPUnit configuration
1 parent 5901b0c commit eef2f7c

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

phpunit.xml.dist

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
32
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
43
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xsi:noNamespaceSchemaLocation="vendor/bin/.phpunit/phpunit.xsd"
@@ -8,9 +7,15 @@
87
failOnRisky="true"
98
failOnWarning="true"
109
>
10+
<coverage processUncoveredFiles="true">
11+
<include>
12+
<directory suffix=".php">./src</directory>
13+
</include>
14+
</coverage>
15+
1116
<php>
12-
<ini name="error_reporting" value="-1" />
13-
<server name="KERNEL_CLASS" value="Symfony\UX\TwigComponent\Tests\Fixtures\Kernel" />
17+
<ini name="error_reporting" value="-1"/>
18+
<server name="KERNEL_CLASS" value="Symfony\UX\TwigComponent\Tests\Fixtures\Kernel"/>
1419
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
1520
</php>
1621

@@ -20,12 +25,6 @@
2025
</testsuite>
2126
</testsuites>
2227

23-
<filter>
24-
<whitelist processUncoveredFilesFromWhitelist="true">
25-
<directory suffix=".php">./src</directory>
26-
</whitelist>
27-
</filter>
28-
2928
<listeners>
3029
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
3130
</listeners>

0 commit comments

Comments
 (0)