File tree 3 files changed +12
-13
lines changed
3 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 2
2
/phpunit.xml
3
3
composer.lock
4
4
/.phpunit.result.cache
5
- /.phpunit.cache /
Original file line number Diff line number Diff line change 28
28
"require-dev" : {
29
29
"mockery/mockery" : " ^1.3.3" ,
30
30
"orchestra/testbench" : " ^5.0|^6.0|^7.0|^8.0" ,
31
- "phpunit/phpunit" : " ^8.0|^9.0|^10.0 "
31
+ "phpunit/phpunit" : " ^8.0|^9.0"
32
32
},
33
33
"scripts" : {
34
34
"test" : " phpunit"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit xmlns : xsi = " http://www.w3.org/2001/XMLSchema-instance "
3
- backupGlobals =" false"
2
+ <phpunit backupGlobals = " false "
3
+ backupStaticAttributes =" false"
4
4
bootstrap =" vendor/autoload.php"
5
5
colors =" true"
6
+ convertErrorsToExceptions =" true"
7
+ convertNoticesToExceptions =" true"
8
+ convertWarningsToExceptions =" true"
6
9
processIsolation =" false"
7
- stopOnFailure =" false"
8
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.0/phpunit.xsd"
9
- cacheDirectory =" .phpunit.cache"
10
- backupStaticProperties =" false" >
11
- <coverage >
12
- <include >
13
- <directory suffix =" .php" >./src</directory >
14
- </include >
15
- </coverage >
10
+ stopOnFailure =" false" >
16
11
<testsuites >
17
12
<testsuite name =" Unit" >
18
13
<directory suffix =" Test.php" >./tests/Unit</directory >
21
16
<directory suffix =" Test.php" >./tests/Feature</directory >
22
17
</testsuite >
23
18
</testsuites >
19
+ <filter >
20
+ <whitelist processUncoveredFilesFromWhitelist =" true" >
21
+ <directory suffix =" .php" >./src</directory >
22
+ </whitelist >
23
+ </filter >
24
24
<php >
25
25
<env name =" APP_ENV" value =" testing" />
26
26
<env name =" CACHE_DRIVER" value =" array" />
You can’t perform that action at this time.
0 commit comments