[8.x] PHPUnit 9.3+ style code coverage config (#5368)

* PHPUnit 9.3+ style code coverage config

* Bumped minimum PHPUnit
This commit is contained in:
Graham Campbell 2020-08-07 15:59:53 +01:00 committed by GitHub
parent 5914e9ced5
commit 53d14e51e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@
"fzaninotto/faker": "^1.9.1",
"mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.0"
"phpunit/phpunit": "^9.3"
},
"config": {
"optimize-autoloader": true,

View File

@ -12,11 +12,11 @@
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</whitelist>
</filter>
</include>
</coverage>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>