[10.x] Adds PHPUnit 10 support (#6052)

* Adds PHPUnit 10 support

* Reverts `noNamespaceSchemaLocation`

* Improves PHPUnit configuration file
This commit is contained in:
Nuno Maduro 2023-02-07 15:26:27 +00:00 committed by GitHub
parent 5eb99fcae6
commit 99b1d97321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,3 +1,4 @@
/.phpunit.cache
/node_modules
/public/build
/public/hot
@ -7,7 +8,6 @@
.env
.env.backup
.env.production
.phpunit.result.cache
Homestead.json
Homestead.yaml
auth.json

View File

@ -16,8 +16,8 @@
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^9.5.10",
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0",
"spatie/laravel-ignition": "^2.0"
},
"autoload": {

View File

@ -12,7 +12,7 @@
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<coverage>
<include>
<directory suffix=".php">./app</directory>
</include>