From 99b1d97321c103c81d234598ffbbd50cb5d99c77 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 7 Feb 2023 15:26:27 +0000 Subject: [PATCH] [10.x] Adds PHPUnit 10 support (#6052) * Adds PHPUnit 10 support * Reverts `noNamespaceSchemaLocation` * Improves PHPUnit configuration file --- .gitignore | 2 +- composer.json | 4 ++-- phpunit.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f0d10af6..e6bbd7ae 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/composer.json b/composer.json index 67fab0f2..08086a85 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/phpunit.xml b/phpunit.xml index 2ac86a18..eb13aff1 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -12,7 +12,7 @@ ./tests/Feature - + ./app