PHPUnit: Upgraded phpunit and config file format
This commit is contained in:
parent
0e96b647b2
commit
9e73e7e181
|
@ -49,7 +49,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"dms/phpunit-arraysubset-asserts": "^0.2.0",
|
"dms/phpunit-arraysubset-asserts": "^0.2.0",
|
||||||
"filp/whoops": "^2.3",
|
"filp/whoops": "^2.3",
|
||||||
"phpunit/phpunit": "^9.1",
|
"phpunit/phpunit": "^9.3",
|
||||||
"squizlabs/php_codesniffer": "^3.5",
|
"squizlabs/php_codesniffer": "^3.5",
|
||||||
"symfony/var-dumper": "^5.0"
|
"symfony/var-dumper": "^5.0"
|
||||||
},
|
},
|
||||||
|
|
11
phpunit.xml
11
phpunit.xml
|
@ -1,6 +1,7 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
<phpunit
|
<phpunit
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.1/phpunit.xsd"
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
|
||||||
bootstrap="./includes/autoload.php"
|
bootstrap="./includes/autoload.php"
|
||||||
colors="true"
|
colors="true"
|
||||||
>
|
>
|
||||||
|
@ -12,9 +13,9 @@
|
||||||
<directory>./tests/Unit</directory>
|
<directory>./tests/Unit</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
<filter>
|
<coverage>
|
||||||
<whitelist>
|
<include>
|
||||||
<directory>./src/</directory>
|
<directory>./src/</directory>
|
||||||
</whitelist>
|
</include>
|
||||||
</filter>
|
</coverage>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
Loading…
Reference in New Issue