Skip to content

Commit 2da3fa6

Browse files
committed
chore: bump phpunit to ^11.0
Update phpunit.xml.dist for PHPUnit 11 schema (replace <coverage> with <source>, remove deprecated attributes).
1 parent 41f8d37 commit 2da3fa6

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"ext-bcmath": "*"
1515
},
1616
"require-dev": {
17-
"phpunit/phpunit": "^9.6"
17+
"phpunit/phpunit": "^11.0"
1818
},
1919
"autoload": {
2020
"psr-4": {

phpunit.xml.dist

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd"
44
colors="true"
55
executionOrder="depends,defects"
66
backupGlobals="false"
77
beStrictAboutOutputDuringTests="true"
8-
beStrictAboutTodoAnnotatedTests="true"
9-
verbose="true">
8+
displayDetailsOnTestsThatTriggerDeprecations="true"
9+
displayDetailsOnTestsThatTriggerWarnings="true">
1010

1111
<php>
1212
<ini name="error_reporting" value="-1"/>
1313
</php>
1414

15-
<coverage processUncoveredFiles="true">
15+
<source>
1616
<include>
1717
<directory suffix=".php">src</directory>
1818
</include>
19-
<report>
20-
<html outputDirectory="tests/var/coverage-report" lowUpperBound="35" highLowerBound="70"/>
21-
<text outputFile="php://stdout" showOnlySummary="true"/>
22-
</report>
23-
</coverage>
19+
</source>
2420

2521
<testsuites>
2622
<testsuite name="default">

0 commit comments

Comments
 (0)