mirror of
https://github.com/danog/endtoend-test-psl.git
synced 2025-01-22 05:11:47 +01:00
migrate to phpunit 9
This commit is contained in:
parent
7fb0bce8ae
commit
cb347ddb7a
@ -17,7 +17,7 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"vimeo/psalm": "dev-master",
|
||||
"phpunit/phpunit": "^8.5",
|
||||
"phpunit/phpunit": "^9.0",
|
||||
"friendsofphp/php-cs-fixer": "^2.16",
|
||||
"php-coveralls/php-coveralls": "^2.2",
|
||||
"roave/security-advisories": "dev-master"
|
||||
|
@ -1,37 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/8.5/phpunit.xsd"
|
||||
colors="true"
|
||||
stopOnFailure="true"
|
||||
bootstrap="vendor/autoload.php"
|
||||
>
|
||||
<php>
|
||||
<ini name="error_reporting" value="-1"/>
|
||||
</php>
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="PHP Standard Library">
|
||||
<directory>tests/Psl</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<logging>
|
||||
<log type="coverage-clover" target="tests/logs/clover.xml"/>
|
||||
</logging>
|
||||
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory>src</directory>
|
||||
<exclude>
|
||||
<file>src/preload.php</file>
|
||||
<file>src/bootstrap.php</file>
|
||||
<directory>src/Psl/Internal</directory>
|
||||
<directory>src/Psl/Exception</directory>
|
||||
<file>src/Psl/Str/constants.php</file>
|
||||
<file>src/Psl/Math/constants.php</file>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" colors="true" stopOnFailure="true" bootstrap="vendor/autoload.php">
|
||||
<coverage processUncoveredFiles="true">
|
||||
<include>
|
||||
<directory>src</directory>
|
||||
</include>
|
||||
<exclude>
|
||||
<file>src/preload.php</file>
|
||||
<file>src/bootstrap.php</file>
|
||||
<directory>src/Psl/Internal</directory>
|
||||
<directory>src/Psl/Exception</directory>
|
||||
<file>src/Psl/Str/constants.php</file>
|
||||
<file>src/Psl/Math/constants.php</file>
|
||||
</exclude>
|
||||
<report>
|
||||
<clover outputFile="tests/logs/clover.xml"/>
|
||||
</report>
|
||||
</coverage>
|
||||
<php>
|
||||
<ini name="error_reporting" value="-1"/>
|
||||
</php>
|
||||
<testsuites>
|
||||
<testsuite name="PHP Standard Library">
|
||||
<directory>tests/Psl</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<logging/>
|
||||
</phpunit>
|
||||
|
Loading…
x
Reference in New Issue
Block a user