Skip to content

Commit

Permalink
Updated to PHPUnit 10.1 (#250)
Browse files Browse the repository at this point in the history
* Updated to PHPUnit 10.1, fixed deprecations

* Fixed usages of deprecated mock methods
  • Loading branch information
davidbyoung committed Apr 16, 2023
1 parent f881233 commit dbb3fea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.5",
"nyholm/psr7": "^1.2",
"phpunit/phpunit": "^10.0"
"phpunit/phpunit": "^10.1"
},
"scripts": {
"phpcs-test": "@phpcs-fix --dry-run",
Expand Down
10 changes: 6 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
<report>
<html outputDirectory="./.coverage"/>
</report>
</coverage>
<testsuite name="PsrAdapters">
<directory>tests</directory>
</testsuite>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>

0 comments on commit dbb3fea

Please sign in to comment.