From 2a08a715c0fd36a4e0cbe4011d2b67d374ed8e1b Mon Sep 17 00:00:00 2001 From: ankurk91 Date: Thu, 7 Mar 2024 14:14:17 +0530 Subject: [PATCH] allow laravel 11 --- .github/workflows/tests.yml | 7 ++----- composer.json | 12 ++++++------ phpunit.xml.dist | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7a240e2..25962ba 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,11 +20,8 @@ jobs: strategy: fail-fast: false matrix: - php: [ 8.1, 8.2, 8.3 ] - laravel: [ 9, 10 ] - exclude: - - php: 8.3 - laravel: 9 + php: [ 8.2, 8.3 ] + laravel: [ 10, 11 ] name: PHP ${{ matrix.php }} - Laravel v${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 6996850..84dd312 100644 --- a/composer.json +++ b/composer.json @@ -17,16 +17,16 @@ } ], "require": { - "php": "^8.1", - "illuminate/events": "^9.34 || ^10.0", - "illuminate/notifications": "^9.34 || ^10.0", - "illuminate/support": "^9.34 || ^10.0", + "php": "^8.2", + "illuminate/events": "^10.0 || ^11.0", + "illuminate/notifications": "^10.0 || ^11.0", + "illuminate/support": "^10.0 || ^11.0", "kreait/firebase-php": "^7.5", "kreait/laravel-firebase": "^5.2" }, "require-dev": { - "orchestra/testbench": "^7.10 || ^8.0", - "phpunit/phpunit": "^9.5", + "orchestra/testbench": "^8.0 || ^9.0", + "phpunit/phpunit": "^9.5 || ^10.0", "roave/better-reflection": "^6.0" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 29b0d59..7702074 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -17,7 +17,7 @@ - ./tests + ./tests