File tree Expand file tree Collapse file tree 2 files changed +34
-33
lines changed
Expand file tree Collapse file tree 2 files changed +34
-33
lines changed Original file line number Diff line number Diff line change 2525 }
2626 ],
2727 "require" : {
28- "php" : " ^7.3|^8.0" ,
29- "ext-json" : " *"
28+ "php" : " ^8.2" ,
29+ "ext-json" : " *" ,
30+ "illuminate/support" : " ^11.0"
3031 },
3132 "require-dev" : {
32- "laravel/framework" : " ^8.0" ,
3333 "mockery/mockery" : " ^1.2" ,
34- "orchestra/testbench" : " ^6.0 " ,
35- "phpunit/phpunit" : " ^9 .0"
34+ "orchestra/testbench" : " v9.0.3 " ,
35+ "phpunit/phpunit" : " ^11 .0"
3636 },
3737 "autoload" : {
3838 "psr-4" : {
4848 }
4949 },
5050 "scripts" : {
51- "test" : " vendor/bin/phpunit" ,
52- "test-coverage" : " vendor/bin/phpunit --coverage-html coverage "
51+ "test" : " vendor/bin/phpunit --testdox --no-coverage --colors=always " ,
52+ "test-coverage" : " XDEBUG_MODE=coverage vendor/bin/phpunit --testdox --colors=always "
5353 }
5454}
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit backupGlobals = " false "
3- backupStaticAttributes =" false"
2+ <phpunit xmlns : xsi = " http://www.w3.org/2001/XMLSchema-instance "
3+ backupGlobals =" false"
44 bootstrap =" vendor/autoload.php"
55 colors =" true"
6- convertErrorsToExceptions =" true"
7- convertNoticesToExceptions =" true"
8- convertWarningsToExceptions =" true"
96 processIsolation =" false"
10- cacheResult =" false"
11- stopOnFailure =" false" >
12- <testsuites >
13- <testsuite name =" Unit" >
14- <directory suffix =" Test.php" >./tests/</directory >
15- </testsuite >
16- </testsuites >
17- <logging >
18- <log type =" coverage-html" target =" ./coverage/coverage" />
19- <log type =" testdox-html" target =" ./coverage/tests.html" />
20- <log type =" coverage-clover" target =" ./coverage/coverage.xml" />
21- </logging >
22- <filter >
23- <whitelist processUncoveredFilesFromWhitelist =" true" >
24- <directory suffix =" .php" >./src/</directory >
25- <exclude >
26- </exclude >
27- </whitelist >
28- </filter >
29- <php >
30- </php >
7+ stopOnFailure =" false"
8+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/11.0/phpunit.xsd"
9+ cacheDirectory =" .phpunit.cache"
10+ backupStaticProperties =" false" >
11+ <coverage >
12+ <report >
13+ <clover outputFile =" ./.reports/clover/coverage.xml" />
14+ <html outputDirectory =" ./.reports/coverage" />
15+ </report >
16+ </coverage >
17+ <testsuites >
18+ <testsuite name =" Unit" >
19+ <directory suffix =" Test.php" >./tests</directory >
20+ </testsuite >
21+ </testsuites >
22+ <logging >
23+ <testdoxHtml outputFile =" ./.reports/tests/tests.html" />
24+ </logging >
25+ <php >
26+ </php >
27+ <source >
28+ <include >
29+ <directory suffix =" .php" >./src</directory >
30+ </include >
31+ </source >
3132</phpunit >
You can’t perform that action at this time.
0 commit comments