From 8e9c04085b79bcf016c7753900bf2932789bceee Mon Sep 17 00:00:00 2001 From: Mohd Saqueib Ansari Date: Sat, 24 Aug 2024 10:02:17 +0530 Subject: [PATCH] laravel 11 support (#64) * laravel 11 support --- .github/workflows/run-tests.yml | 25 ++++++++----------------- composer.json | 4 ++-- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 855d8cb..06219a8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,23 +8,15 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-latest, windows-latest] - php: [8.0, 8.1, 8.2] - laravel: [^8.83.27, ^9.51.0, ^10.0.0] - stability: [prefer-lowest, prefer-stable] + os: [ubuntu-latest] + php: [8.3, 8.2] + laravel: [10.*, 11.*] + stability: [prefer-stable] include: - - laravel: ^10.0.0 - testbench: ^8.0.0 - - laravel: ^9.51.0 - testbench: ^7.22.0 - - laravel: ^8.83.27 - testbench: ^6.25.1 - exclude: - - php: 8.0 - laravel: ^10.0.0 - - php: 8.1 - laravel: ^8.83.27 - + - laravel: 11.* + testbench: 9.* + - laravel: 10.* + testbench: 8.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -48,7 +40,6 @@ jobs: run: | composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - composer require nesbot/carbon:^2.68.1 - name: List Installed Dependencies run: composer show -D diff --git a/composer.json b/composer.json index 0c8eb1d..b0d21b3 100644 --- a/composer.json +++ b/composer.json @@ -23,11 +23,11 @@ ], "require": { "php": "^8.0", - "illuminate/contracts": "^8.83.27|^9.51.0|^10.0.0", + "illuminate/contracts": "^8.83.27|^9.51.0|^10.0.0|^11.0", "spatie/laravel-package-tools": "^1.12" }, "require-dev": { - "orchestra/testbench": "^6.25.1|^7.22.0|^8.0.0", + "orchestra/testbench": "^6.25.1|^7.22.0|^8.0.0|^9.0", "mockery/mockery": "^0.9.4 || ~1.0", "pestphp/pest": "^1.23.1|^2.11", "pestphp/pest-plugin-laravel": "^1.4|^2.1",