Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Commit

Permalink
Merge pull request #66 from loveOSS/feat/upgrade-phpunit
Browse files Browse the repository at this point in the history
[Feat] Upgrade PHPUnit to v9
  • Loading branch information
mickaelandrieu authored Jan 25, 2022
2 parents 396129e + 409810e commit 6bb6235
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"php-parallel-lint/php-parallel-lint": "^1.0",
"phpstan/phpstan": "^1.2",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^8.0",
"phpunit/phpunit": "^9.0",
"symfony/cache": "~4.4|~5.4|~6.0",
"symfony/http-client": "^4.4|~5.4|~6.0",
"vimeo/psalm": "^4.3"
Expand Down
29 changes: 11 additions & 18 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<phpunit
executionOrder="random"
resolveDependencies="true"
colors="true"
bootstrap="./vendor/autoload.php"
>
<testsuites>
<testsuite name="Resiliency test suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>

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

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" executionOrder="random" resolveDependencies="true" colors="true" bootstrap="./vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Resiliency test suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 6bb6235

Please sign in to comment.