1
0
Fork 0

Upgrade phpunit configs

pull/10757/head
Jordi Boggiano 2022-04-29 10:53:56 +02:00
parent 06ef742a66
commit 4707350011
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 19 additions and 20 deletions

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/5.7/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
@ -31,12 +30,12 @@
</exclude>
</groups>
<filter>
<whitelist>
<coverage>
<include>
<directory>./src/Composer/</directory>
<exclude>
<file>./src/Composer/Autoload/ClassLoader.php</file>
</exclude>
</whitelist>
</filter>
</include>
<exclude>
<file>./src/Composer/Autoload/ClassLoader.php</file>
</exclude>
</coverage>
</phpunit>

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/5.7/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
@ -12,10 +11,11 @@
failOnRisky="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="./bootstrap.php"
bootstrap="tests/bootstrap.php"
>
<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
<env name="COMPOSER_TEST_SUITE" value="1"/>
</php>
<testsuites>
<testsuite name="Full Composer Test Suite">
@ -29,12 +29,12 @@
</exclude>
</groups>
<filter>
<whitelist>
<directory>../src/Composer/</directory>
<exclude>
<file>../src/Composer/Autoload/ClassLoader.php</file>
</exclude>
</whitelist>
</filter>
<coverage>
<include>
<directory>./src/Composer/</directory>
</include>
<exclude>
<file>./src/Composer/Autoload/ClassLoader.php</file>
</exclude>
</coverage>
</phpunit>