Skip to content

Commit 99b1d97

Browse files
authored
[10.x] Adds PHPUnit 10 support (laravel#6052)
* Adds PHPUnit 10 support * Reverts `noNamespaceSchemaLocation` * Improves PHPUnit configuration file
1 parent 5eb99fc commit 99b1d97

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.phpunit.cache
12
/node_modules
23
/public/build
34
/public/hot
@@ -7,7 +8,6 @@
78
.env
89
.env.backup
910
.env.production
10-
.phpunit.result.cache
1111
Homestead.json
1212
Homestead.yaml
1313
auth.json

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"laravel/pint": "^1.0",
1717
"laravel/sail": "^1.18",
1818
"mockery/mockery": "^1.4.4",
19-
"nunomaduro/collision": "^6.1",
20-
"phpunit/phpunit": "^9.5.10",
19+
"nunomaduro/collision": "^7.0",
20+
"phpunit/phpunit": "^10.0",
2121
"spatie/laravel-ignition": "^2.0"
2222
},
2323
"autoload": {

phpunit.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<directory suffix="Test.php">./tests/Feature</directory>
1313
</testsuite>
1414
</testsuites>
15-
<coverage processUncoveredFiles="true">
15+
<coverage>
1616
<include>
1717
<directory suffix=".php">./app</directory>
1818
</include>

0 commit comments

Comments
 (0)