Skip to content

Commit de285f2

Browse files
committed
tests: upgrade to PHPUnit 11
1 parent e16ea4e commit de285f2

3 files changed

Lines changed: 6 additions & 11 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
vendor/
22
composer.lock
3-
.phpunit.result.cache
3+
.phpunit.cache/

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"ext-json": "*"
2222
},
2323
"require-dev": {
24-
"phpunit/phpunit": "^9.0",
24+
"phpunit/phpunit": "^11.5",
2525
"phpstan/phpstan": "^2.1",
2626
"laravel/pint": "^1.22"
2727
},
@@ -50,7 +50,7 @@
5050
"prefer-stable": true,
5151
"extra": {
5252
"branch-alias": {
53-
"dev-develop": "2.x-dev"
53+
"dev-develop": "3.x-dev"
5454
}
5555
}
5656
}

phpunit.xml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
backupGlobals="false"
4-
backupStaticAttributes="false"
54
beStrictAboutTestsThatDoNotTestAnything="false"
65
bootstrap="vendor/autoload.php"
76
colors="true"
8-
convertErrorsToExceptions="true"
9-
convertNoticesToExceptions="true"
10-
convertWarningsToExceptions="true"
11-
convertDeprecationsToExceptions="true"
127
processIsolation="false"
138
stopOnError="false"
149
stopOnFailure="false"
15-
verbose="true"
16-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
17-
>
10+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
11+
cacheDirectory=".phpunit.cache"
12+
backupStaticProperties="false">
1813
<testsuites>
1914
<testsuite name="Unit">
2015
<directory>./tests/Unit/</directory>

0 commit comments

Comments
 (0)