File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 34
34
tests :
35
35
before :
36
36
-
37
- command : composer test:coverage
37
+ command : composer test:scrutinizer
38
38
coverage :
39
39
file : ' build/logs/clover.xml'
40
40
format : ' clover'
Original file line number Diff line number Diff line change 48
48
"sniffer:check" : " phpcs --standard=phpcs.xml" ,
49
49
"sniffer:fix" : " phpcbf --standard=phpcs.xml" ,
50
50
"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"
52
53
},
53
54
"config" : {
54
55
"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