From f2822750c30895728346d4f45dfc1faf1d660003 Mon Sep 17 00:00:00 2001 From: Joost de Bruijn Date: Mon, 19 Feb 2024 01:25:15 +0100 Subject: [PATCH] chore: prepare for laravel 11 (#145) --- .github/workflows/tests.yml | 18 +++++++++--------- composer.json | 12 ++++++------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3a71b53..a829c60 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,27 +8,27 @@ jobs: strategy: fail-fast: true matrix: - php: [ 8.2, 8.1, 8.0 ] - laravel: [ ^9.0, ^10.0 ] + php: [ 8.3, 8.2, 8.1 ] + laravel: [ ^10.0, ^11.0 ] stability: [ prefer-lowest, prefer-stable ] include: - - laravel: ^9.0 - testbench: ^7.19 - laravel: ^10.0 testbench: ^8.0 + - laravel: ^11.0 + testbench: ^9.0 exclude: - # Laravel 10 requires PHP 8.1 at least - - laravel: ^10.0 - php: 8.0 + # Laravel 11 requires PHP 8.2 at least + - laravel: ^11.0 + php: 8.1 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.composer/cache/files key: dependencies-php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-composer-${{ hashFiles('composer.lock') }} diff --git a/composer.json b/composer.json index 9010a1c..2c5f7fe 100644 --- a/composer.json +++ b/composer.json @@ -21,17 +21,17 @@ } ], "require": { - "php": "^8.0", + "php": "^8.1", "ext-json": "*", "guzzlehttp/guzzle": "^7.0", - "illuminate/mail": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0" + "illuminate/mail": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0" }, "require-dev": { "ext-gd": "*", "fakerphp/faker": "^1.17", - "orchestra/testbench": "^7.19|^8.0", - "phpunit/phpunit": "^9.0" + "orchestra/testbench": "^8.0|^9.0", + "phpunit/phpunit": "^10.0" }, "suggest": { "mvdnbrk/postmark-inbound": "Allows you to process Postmark Inbound Webhooks." @@ -64,4 +64,4 @@ "scripts": { "test": "vendor/bin/phpunit" } -} +} \ No newline at end of file