Skip to content

Commit

Permalink
dep: bump phpunit to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Jul 3, 2024
1 parent ce4d405 commit fec677b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* build: add dependabot config
* test: add missing test for PHP 8.3 and Symfony 7
* dep: bump minimum PHP to 8.2
* dep: bump phpunit to 10

## 1.4.1

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"require-dev": {
"mockery/mockery": "^1.6",
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "^10.5",
"phpstan/phpstan-mockery": "^1.1",
"phpstan/phpstan": "^1.10",
"vimeo/psalm": "^5.15",
Expand Down
18 changes: 5 additions & 13 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,30 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheResultFile=".phpunit.cache/test-results"
executionOrder="depends,defects"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
convertDeprecationsToExceptions="true"
failOnRisky="true"
failOnWarning="true"
verbose="true">

cacheDirectory=".phpunit.cache"
beStrictAboutCoverageMetadata="true">
<testsuites>
<testsuite name="default">
<directory>tests</directory>
</testsuite>
</testsuites>

<coverage
cacheDirectory=".phpunit.cache/code-coverage"
processUncoveredFiles="true">
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>

</source>
</phpunit>

0 comments on commit fec677b

Please sign in to comment.