From de372ea8dbd99c1d2c9c34f696b3c63ef75d4e6e Mon Sep 17 00:00:00 2001 From: Shuvro Roy Date: Mon, 12 Feb 2024 13:37:13 +0600 Subject: [PATCH] Add support for laravel 11 (#172) * chore: add support for laravel 11 * chore: add phpunit v10 * chore: fix typo * chore: remove verbose --- .github/workflows/tests.yml | 12 ++++++++++-- composer.json | 6 +++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a580930..7351e12 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,8 +17,10 @@ jobs: fail-fast: true matrix: php: [7.3, 7.4, '8.0', 8.1, 8.2, 8.3] - laravel: [6, 7, 8, 9, 10] + laravel: [6, 7, 8, 9, 10, 11] exclude: + - php: 7.3 + laravel: 11 - php: 7.3 laravel: 9 - php: 7.3 @@ -27,8 +29,14 @@ jobs: laravel: 9 - php: 7.4 laravel: 10 + - php: 7.4 + laravel: 11 - php: '8.0' laravel: 10 + - php: '8.0' + laravel: 11 + - php: 8.1 + laravel: 11 - php: 8.1 laravel: 6 - php: 8.1 @@ -67,4 +75,4 @@ jobs: composer update --prefer-dist --no-interaction --no-progress - name: Execute tests - run: vendor/bin/phpunit --verbose + run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index e127366..422cc3d 100644 --- a/composer.json +++ b/composer.json @@ -29,10 +29,10 @@ "ext-soap": "*" }, "require-dev": { - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "mockery/mockery": "^1.3.3", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0", - "phpunit/phpunit": "^9.5" + "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "phpunit/phpunit": "^9.5|^10.0" }, "autoload": { "psr-4": {