[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 /node_modules
/public/build /public/build
/public/hot /public/hot
@ -7,7 +8,6 @@
.env .env
.env.backup .env.backup
.env.production .env.production
.phpunit.result.cache
Homestead.json Homestead.json
Homestead.yaml Homestead.yaml
auth.json auth.json

View File

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

View File

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