Migrate PHPUnit configs and homogenize them

This commit is contained in:
Hugo Alliaume
2025-06-26 00:09:37 +02:00
parent c65cf963cd
commit 684aa71734

View File

@@ -1,38 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html --> <!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <phpunit
xsi:noNamespaceSchemaLocation="vendor/bin/.phpunit/phpunit.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
colors="true" xsi:noNamespaceSchemaLocation="vendor/bin/.phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php" colors="true"
failOnRisky="true" bootstrap="vendor/autoload.php"
failOnWarning="true" failOnRisky="true"
failOnWarning="true"
> >
<php> <php>
<ini name="error_reporting" value="-1" /> <ini name="error_reporting" value="-1"/>
<server name="KERNEL_CLASS" value="Symfony\UX\Autocomplete\Tests\Fixtures\Kernel" />
<server name="DATABASE_URL" value="sqlite:///%kernel.project_dir%/var/data.db" />
<env name="SHELL_VERBOSITY" value="-1"/> <env name="SHELL_VERBOSITY" value="-1"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/> <env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
<env name="KERNEL_CLASS" value="Symfony\UX\Autocomplete\Tests\Fixtures\Kernel"/>
<env name="DATABASE_URL" value="sqlite:///%kernel.project_dir%/var/data.db"/>
</php> </php>
<testsuites> <testsuites>
<testsuite name="symfony/ux-autocomplete Test Suite"> <testsuite name="Symfony UX Stimulus Test Suite">
<directory>./tests/</directory> <directory>./tests</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<filter> <coverage>
<whitelist processUncoveredFilesFromWhitelist="true"> <include>
<directory suffix=".php">./src</directory> <directory>./src</directory>
</whitelist> </include>
</filter> </coverage>
<listeners> <listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/> <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners> </listeners>
<extensions> <extensions>
<extension class="Zenstruck\Browser\Test\BrowserExtension" /> <extension class="Zenstruck\Browser\Test\BrowserExtension"/>
</extensions> </extensions>
</phpunit> </phpunit>