File tree 3 files changed +11
-6
lines changed
3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ language: php
4
4
5
5
php :
6
6
- 7.3
7
+ - 7.4
8
+ - 8.0
7
9
8
10
install :
9
11
- composer install --prefer-dist
Original file line number Diff line number Diff line change 3
3
"description" : " Generate code coverage reports on a live server" ,
4
4
"license" : " MIT" ,
5
5
"require" : {
6
- "php" : " ^7.3" ,
6
+ "php" : " ^7.3 || ^8.0 " ,
7
7
"webmozart/assert" : " ^1.2" ,
8
8
"phpunit/php-code-coverage" : " ^9.0" ,
9
9
"phpunit/phpunit" : " ^9.3"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<phpunit
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/8.0 /phpunit.xsd"
4
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3 /phpunit.xsd"
5
5
bootstrap =" vendor/autoload.php"
6
6
colors =" true"
7
7
>
10
10
<directory >test</directory >
11
11
</testsuite >
12
12
</testsuites >
13
- <filter >
14
- <whitelist >
13
+ <coverage >
14
+ <include >
15
15
<directory suffix =" .php" >src</directory >
16
- </whitelist >
17
- </filter >
16
+ </include >
17
+ </coverage >
18
+ <php >
19
+ <env name =" XDEBUG_MODE" value =" coverage" />
20
+ </php >
18
21
</phpunit >
You can’t perform that action at this time.
0 commit comments