Skip to content

Commit 53d14e5

Browse files
[8.x] PHPUnit 9.3+ style code coverage config (laravel#5368)
* PHPUnit 9.3+ style code coverage config * Bumped minimum PHPUnit
1 parent 5914e9c commit 53d14e5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"fzaninotto/faker": "^1.9.1",
2020
"mockery/mockery": "^1.3.1",
2121
"nunomaduro/collision": "^5.0",
22-
"phpunit/phpunit": "^9.0"
22+
"phpunit/phpunit": "^9.3"
2323
},
2424
"config": {
2525
"optimize-autoloader": true,

phpunit.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
<directory suffix="Test.php">./tests/Feature</directory>
1313
</testsuite>
1414
</testsuites>
15-
<filter>
16-
<whitelist processUncoveredFilesFromWhitelist="true">
15+
<coverage processUncoveredFiles="true">
16+
<include>
1717
<directory suffix=".php">./app</directory>
18-
</whitelist>
19-
</filter>
18+
</include>
19+
</coverage>
2020
<php>
2121
<server name="APP_ENV" value="testing"/>
2222
<server name="BCRYPT_ROUNDS" value="4"/>

0 commit comments

Comments
 (0)