From b5d29cced5fe5466e64d26d2158d9ad5248c10a4 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 12 Mar 2024 09:05:02 -0400 Subject: [PATCH] Laravel 11.x Compatibility (#1358) * Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11 --- .github/workflows/tests.yml | 14 +++++++++++--- composer.json | 8 ++++---- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 703898c4..22fc9304 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,16 +1,19 @@ name: Tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1] - laravel: [8.*, 9.*, 10.*] + php: [8.1, '8.2'] + laravel: ['8.*', '9.*', '10.*', '11.*'] dependency-version: [prefer-stable] include: - laravel: 10.* @@ -19,6 +22,11 @@ jobs: testbench: 6.* - laravel: 9.* testbench: 7.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index da1af8ff..f8319197 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,8 @@ "require": { "php": "^8.1", "guzzlehttp/guzzle": "^7.0", - "illuminate/http": "^8.0|^9.0|^10.0", - "illuminate/support": "^8.0|^9.0|^10.0" + "illuminate/http": "^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0" }, "require-dev": { "aws/aws-sdk-php": "^3.87", @@ -39,8 +39,8 @@ "laravel/pint": "^1.5", "mediaburst/clockworksms": "^2.0", "melipayamak/php": "^1.0.0", - "orchestra/testbench": "^6.0|^7.0|^8.0", - "phpunit/phpunit": "^9.3", + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0", + "phpunit/phpunit": "^9.3|^10.5", "sms77/api": "^v2.4.0", "smsgatewayme/client": "^0.0.1", "twilio/sdk": "^7.3",