Skip to content

Commit 8b10610

Browse files
committed
Migrate PHPUnit configs and homogenize them
1 parent 0879cd5 commit 8b10610

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

phpunit.xml.dist

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,32 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
3-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="vendor/bin/.phpunit/phpunit.xsd"
5-
colors="true"
6-
bootstrap="vendor/autoload.php"
7-
failOnRisky="true"
8-
failOnWarning="true"
3+
<phpunit
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:noNamespaceSchemaLocation="vendor/bin/.phpunit/phpunit.xsd"
6+
colors="true"
7+
bootstrap="vendor/autoload.php"
8+
failOnRisky="true"
9+
failOnWarning="true"
910
>
10-
<coverage processUncoveredFiles="true">
11-
<include>
12-
<directory suffix=".php">./src</directory>
13-
</include>
14-
</coverage>
15-
1611
<php>
1712
<ini name="error_reporting" value="-1"/>
18-
<server name="KERNEL_CLASS" value="Symfony\UX\TwigComponent\Tests\Fixtures\Kernel"/>
19-
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
13+
<env name="SHELL_VERBOSITY" value="-1"/>
14+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
15+
<env name="KERNEL_CLASS" value="Symfony\UX\TwigComponent\Tests\Fixtures\Kernel"/>
2016
</php>
2117

2218
<testsuites>
23-
<testsuite name="symfony/ux-twig-component Test Suite">
24-
<directory>./tests/</directory>
19+
<testsuite name="Symfony UX TwigComponent Test Suite">
20+
<directory>./tests</directory>
2521
</testsuite>
2622
</testsuites>
2723

24+
<coverage>
25+
<include>
26+
<directory>./src</directory>
27+
</include>
28+
</coverage>
29+
2830
<listeners>
2931
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
3032
</listeners>

0 commit comments

Comments
 (0)