Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
Upgrade to PHPUnit v9
Browse files Browse the repository at this point in the history
  • Loading branch information
nesk committed Nov 30, 2020
1 parent 7779e00 commit 67e6eb9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.build/
/node_modules/
/vendor/
.phpunit.result.cache
composer.lock
package-lock.json
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"require-dev": {
"monolog/monolog": "^2.0",
"phpunit/phpunit": "^6.5|^7.0",
"phpunit/phpunit": "^9.0",
"symfony/process": "^4.0|^5.0"
},
"autoload": {
Expand Down
21 changes: 5 additions & 16 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.5/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
bootstrap="vendor/autoload.php"
forceCoversAnnotation="true"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
colors="true"
verbose="true">
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>

<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
colors="true">
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
</phpunit>

0 comments on commit 67e6eb9

Please sign in to comment.