From 6a18614b31fcd7c93e5f10689080f1c5c2cbf928 Mon Sep 17 00:00:00 2001 From: Jasper Zonneveld Date: Tue, 5 Mar 2024 08:49:39 +0100 Subject: [PATCH] build: add support for Laravel 11 --- .github/workflows/tests.yml | 30 ++++++++++++++++++++---------- composer.json | 4 ++-- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cf7aa48..f7a9d5c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,18 +9,28 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.4', '8.0', '8.1', '8.2' ] - laravel: [ '8.*', '9.*', '10.*' ] + php: [ 7.4, 8.0, 8.1, 8.2, 8.3 ] + laravel: [ 8.*, 9.*, 10.*, 11.* ] stability: [ prefer-lowest, prefer-stable ] exclude: - - laravel: '8.*' - php: '8.2' - - laravel: '9.*' - php: '7.4' - - laravel: '10.*' - php: '7.4' - - laravel: '10.*' - php: '8.0' + - laravel: 8.* + php: 8.2 + - laravel: 8.* + php: 8.3 + - laravel: 9.* + php: 7.4 + - laravel: 9.* + php: 8.3 + - laravel: 10.* + php: 7.4 + - laravel: 10.* + php: 8.0 + - laravel: 11.* + php: 7.4 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} diff --git a/composer.json b/composer.json index 120a834..973469f 100644 --- a/composer.json +++ b/composer.json @@ -5,8 +5,8 @@ "require": { "php": "^7.4|^8.0", "ext-json": "*", - "illuminate/collections": "^8.0|^9.0|^10.0", - "illuminate/contracts": "^8.0|^9.0|^10.0", + "illuminate/collections": "^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0", "php-http/discovery": "^1.9", "psr/http-client": "^1.0", "psr/http-client-implementation": "^1.0",