File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 tests :
3535 before :
3636 -
37- command : composer test:coverage
37+ command : composer test:scrutinizer
3838 coverage :
3939 file : ' build/logs/clover.xml'
4040 format : ' clover'
Original file line number Diff line number Diff line change 4848 "sniffer:check" : " phpcs --standard=phpcs.xml" ,
4949 "sniffer:fix" : " phpcbf --standard=phpcs.xml" ,
5050 "test" : " phpunit --configuration phpunit.xml --do-not-cache-result --colors=always" ,
51- "test:coverage" : " phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
51+ "test:coverage" : " phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage" ,
52+ "test:scrutinizer" : " phpunit --configuration phpunit8.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
5253 },
5354 "config" : {
5455 "sort-packages" : true
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <phpunit bootstrap =" vendor/autoload.php" colors =" true" backupGlobals =" false" backupStaticAttributes =" false" >
3+ <testsuites >
4+ <testsuite name =" Tests" >
5+ <directory suffix =" Test.php" >tests</directory >
6+ </testsuite >
7+ </testsuites >
8+ <filter >
9+ <whitelist processUncoveredFilesFromWhitelist =" false" >
10+ <directory suffix =" .php" >src</directory >
11+ <exclude >
12+ <directory >vendor</directory >
13+ <directory >build</directory >
14+ </exclude >
15+ </whitelist >
16+ </filter >
17+ </phpunit >
You can’t perform that action at this time.
0 commit comments