Skip to content

Commit

Permalink
Improve PHPUnit setup (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-georgiev authored Jan 24, 2021
1 parent c655a39 commit 57997a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ php:

env:
global:
- XDEBUG_MODE="coverage"
- LATEST_PHP_VERSION="8.0"
matrix:
- DEPENDENCIES="beta"
Expand Down
4 changes: 2 additions & 2 deletions ci/phpunit/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
</testsuites>

<filter>
<whitelist>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../../src</directory>
</whitelist>
</filter>

</phpunit>
</phpunit>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"php-coveralls/php-coveralls": "^2.2",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpunit/phpunit": "^8.5",
"phpunit/phpunit": "^8.5||^9.5",
"sensiolabs-de/deptrac-shim": "^0.10"
},
"suggest": {
Expand Down

0 comments on commit 57997a5

Please sign in to comment.