Skip to content

Commit 82fdc3c

Browse files
Upgrade phpunit
1 parent 6ae36de commit 82fdc3c

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"dragon-code/support": "^6.0"
4949
},
5050
"require-dev": {
51-
"phpunit/phpunit": "^9.6"
51+
"phpunit/phpunit": "^10.0"
5252
},
5353
"suggest": {
5454
"symfony/thanks": "Give thanks (in the form of a GitHub) to your fellow PHP package maintainers"

phpunit.xml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
32
<!--
43
~ This file is part of the "dragon-code/pretty-array" project.
54
~
@@ -14,35 +13,33 @@
1413
~
1514
~ @see https://github.com/TheDragonCode/pretty-array
1615
-->
17-
1816
<phpunit
19-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
2017
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
2119
backupGlobals="false"
22-
backupStaticAttributes="false"
20+
backupStaticProperties="false"
2321
bootstrap="vendor/autoload.php"
22+
cacheDirectory=".phpunit.cache"
2423
colors="true"
25-
convertErrorsToExceptions="true"
26-
convertNoticesToExceptions="true"
27-
convertWarningsToExceptions="true"
2824
processIsolation="false"
2925
stopOnError="false"
3026
stopOnFailure="false"
31-
verbose="true"
3227
>
33-
<coverage processUncoveredFiles="true">
34-
<include>
35-
<directory suffix=".php">./src</directory>
36-
</include>
28+
<coverage>
3729
<report>
38-
<clover outputFile="build/logs/clover.xml"/>
39-
<html outputDirectory="build/logs/coverage"/>
40-
<text outputFile="build/logs/coverage.txt"/>
30+
<clover outputFile="build/logs/clover.xml" />
31+
<html outputDirectory="build/logs/coverage" />
32+
<text outputFile="build/logs/coverage.txt" />
4133
</report>
4234
</coverage>
4335
<testsuites>
4436
<testsuite name="Test Suite">
4537
<directory suffix="Test.php">./tests</directory>
4638
</testsuite>
4739
</testsuites>
40+
<source>
41+
<include>
42+
<directory suffix=".php">./src</directory>
43+
</include>
44+
</source>
4845
</phpunit>

0 commit comments

Comments
 (0)