Skip to content

Commit

Permalink
Support for PHPUnit 9 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo authored Feb 5, 2021
1 parent 9e39d55 commit feb3327
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: php
php:
- 7.2
- 7.3
- 7.4
- 8.0
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
}
],
"require": {
"php": ">=7.2",
"phpunit/phpunit": "^8.0",
"php": ">=7.3",
"phpunit/phpunit": "^9.0",
"ext-gd": "*"
},
"require-dev": {
Expand Down
29 changes: 17 additions & 12 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
beStrictAboutTestsThatDoNotTestAnything="false">
<testsuites>
<testsuite name="Test Suite for meyfa/phpunit-assert-gd">
<directory suffix="Test.php">tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="vendor/autoload.php"
beStrictAboutTestsThatDoNotTestAnything="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<testsuites>
<testsuite name="Test Suite for meyfa/phpunit-assert-gd">
<directory suffix="Test.php">tests/</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
</phpunit>

0 comments on commit feb3327

Please sign in to comment.