From 044ea534abbffbd08a9d17ae6586791cc474bcc5 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Wed, 15 Feb 2023 20:53:11 -0500 Subject: [PATCH] Laravel 10.x Compatibility (#19) Co-authored-by: Michael Dyrynda --- .github/workflows/run-tests.yml | 9 ++------ composer.json | 18 ++++++++-------- phpunit.xml | 37 +++++++++++++-------------------- 3 files changed, 25 insertions(+), 39 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 918b59d..55dd3ab 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,13 +11,8 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1,8.0, 7.4, 7.3] - laravel: [^8.12, ^9.0] - exclude: - - php: 7.3 - laravel: '^9.0' - - php: 7.4 - laravel: '^9.0' + php: [8.2,8.1] + laravel: [10.0] name: P${{ matrix.php }} - L${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 4a605db..ced9371 100644 --- a/composer.json +++ b/composer.json @@ -15,12 +15,12 @@ } ], "require": { - "php": "^7.3|^8.0", - "illuminate/support": "^8.0|^9.0", - "illuminate/console": "^8.0|^9.0", - "illuminate/database": "^8.0|^9.0", - "illuminate/auth": "^8.0|^9.0", - "illuminate/notifications": "^8.0|^9.0" + "php": "^8.1", + "illuminate/support": "^10.0", + "illuminate/console": "^10.0", + "illuminate/database": "^10.0", + "illuminate/auth": "^10.0", + "illuminate/notifications": "^10.0" }, "autoload": { "psr-4": { @@ -28,9 +28,9 @@ } }, "require-dev": { - "mockery/mockery": "^1.4.2", - "phpunit/phpunit": "^9.3.3", - "orchestra/testbench": "^6.0|^7.0" + "mockery/mockery": "^1.4.4", + "phpunit/phpunit": "^9.6.0 || ^10.0.7", + "orchestra/testbench": "^8.0" }, "autoload-dev": { "psr-4": { diff --git a/phpunit.xml b/phpunit.xml index 4b2674b..e03e9d8 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,25 +1,16 @@ - - - - ./tests/ - - - - - src/ - - - - - + + + + src/ + + + + + ./tests/ + + + + +