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"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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" backupGlobals="false"
backupStaticAttributes="false" backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutTestsThatDoNotTestAnything="true"
@ -31,12 +30,12 @@
</exclude> </exclude>
</groups> </groups>
<filter> <coverage>
<whitelist> <include>
<directory>./src/Composer/</directory> <directory>./src/Composer/</directory>
</include>
<exclude> <exclude>
<file>./src/Composer/Autoload/ClassLoader.php</file> <file>./src/Composer/Autoload/ClassLoader.php</file>
</exclude> </exclude>
</whitelist> </coverage>
</filter>
</phpunit> </phpunit>

View File

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