Skip to content

Commit e91da52

Browse files
authored
[4.x] Use PHPUnit 10 (#1400)
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 379ff34 commit e91da52

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/vendor
22
composer.lock
33
/phpunit.xml
4+
/.phpunit.cache
45
.phpunit.result.cache

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"mockery/mockery": "^1.0",
2929
"orchestra/testbench": "^8.11",
3030
"phpstan/phpstan": "^1.10",
31-
"phpunit/phpunit": "^9.3"
31+
"phpunit/phpunit": "^10.1"
3232
},
3333
"autoload": {
3434
"psr-4": {

phpunit.xml.dist

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
backupGlobals="false"
44
bootstrap="vendor/autoload.php"
55
colors="true"
6-
convertDeprecationsToExceptions="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
106
processIsolation="false"
117
stopOnFailure="false"
12-
>
8+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd"
9+
cacheDirectory=".phpunit.cache"
10+
backupStaticProperties="false">
1311
<testsuites>
1412
<testsuite name="Jetstream Test Suite">
15-
<directory suffix=".php">./tests/</directory>
13+
<directory suffix="Test.php">./tests/</directory>
1614
</testsuite>
1715
</testsuites>
1816
<php>

0 commit comments

Comments
 (0)