From 08be8f134b831c675c178dc0ab79544b3ae72cd7 Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Tue, 27 Feb 2024 11:07:08 -0500 Subject: [PATCH] Laravel 11.x Compatibility (#40) * Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 12 ++++++++++-- composer.json | 10 +++++----- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b6e73ab..c0af0c1 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,19 +1,27 @@ name: run-tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ubuntu-latest + strategy: fail-fast: true matrix: php: [8.3, 8.2, 8.1] - laravel: [10.*] + laravel: ['10.*', '11.*'] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 6ec94d0..0830000 100755 --- a/composer.json +++ b/composer.json @@ -19,13 +19,13 @@ "require": { "php": "^8.1 || ^8.2 || ^8.3", "ext-openssl": "*", - "egulias/email-validator": "^3.1", + "egulias/email-validator": "^3.1 || ^4.0", "guzzlehttp/guzzle": "^7.2", - "illuminate/support": "^10.0", - "illuminate/validation": "^10.0" + "illuminate/support": "^10.0 || ^11.0", + "illuminate/validation": "^10.0 || ^11.0" }, "require-dev": { - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^8.0 || ^9.0", "phpunit/phpunit": "^10.4" }, "autoload": { @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +}