From 27e027b642eae75a68e0a6d1ce612d773d522b0c 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 | 34 +++++++++++++++++++++++----------- composer.json | 4 ++-- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cf7aa48..9e5c68f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,18 +9,30 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.4', '8.0', '8.1', '8.2' ] - laravel: [ '8.*', '9.*', '10.*' ] 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' + include: + - laravel: 8.* + php: 7.4 + - laravel: 8.* + php: 8.0 + - laravel: 8.* + php: 8.1 + - laravel: 9.* + php: 8.0 + - laravel: 9.* + php: 8.1 + - laravel: 9.* + php: 8.2 + - laravel: 10.* + php: 8.1 + - laravel: 10.* + php: 8.2 + - laravel: 10.* + php: 8.3 + - laravel: 11.* + php: 8.2 + - laravel: 11.* + php: 8.3 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",