From e03b26f37e976097b5471e213e5368aacea374d6 Mon Sep 17 00:00:00 2001 From: Bilfeldt Date: Wed, 28 Feb 2024 09:50:25 +0100 Subject: [PATCH 1/2] Add Laravel 11 and PHP 8.3 support --- .github/workflows/run-tests.yml | 17 +++++++++++++---- CHANGELOG.md | 5 +++++ composer.json | 8 ++++---- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d65dbc6..51823ff 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,21 +2,26 @@ name: run-tests on: push: - branches: [main] + branches: + - main pull_request: - branches: [main] + branches: + - main jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - php: [8.2, 8.1, 8.0] - laravel: [10.*, 9.*, 8.*] + php: [8.3, 8.2, 8.1, 8.0] + laravel: ['11.*', '10.*', '9.*', '8.*'] stability: [prefer-stable] include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* - laravel: 9.* @@ -26,6 +31,10 @@ jobs: exclude: - laravel: 10.* php: 8.0 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/CHANGELOG.md b/CHANGELOG.md index de94fe5..04a8a6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to `laravel-flash-message` will be documented in this file. +## 1.2.0 - 2024-02-28 + +- Add Laravel 11 support +- Add PHP 8.3 support + ## 1.1.0 - 2023-05-01 - Add Laravel 10 support diff --git a/composer.json b/composer.json index e6277fd..9d2ea05 100644 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ } ], "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0", - "illuminate/contracts": "^8.51 || ^9.0 || ^10.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", + "illuminate/contracts": "^8.51 || ^9.0 || ^10.0 || ^11.0" }, "require-dev": { - "nunomaduro/collision": "^5.3 || ^6.0 || ^7.0", - "orchestra/testbench": "^6.15 || ^7.0 || ^8.0", + "nunomaduro/collision": "^5.3 || ^6.0 || ^7.0 || ^8.0", + "orchestra/testbench": "^6.15 || ^7.0 || ^8.0 || ^9.0", "phpunit/phpunit": "^9.3", "spatie/laravel-ray": "^1.23" }, From d573e09b4776b3e2768d21c0d9721c93e7b77718 Mon Sep 17 00:00:00 2001 From: Bilfeldt Date: Wed, 28 Feb 2024 10:04:33 +0100 Subject: [PATCH 2/2] phpunit 10 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 9d2ea05..a74847a 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require-dev": { "nunomaduro/collision": "^5.3 || ^6.0 || ^7.0 || ^8.0", "orchestra/testbench": "^6.15 || ^7.0 || ^8.0 || ^9.0", - "phpunit/phpunit": "^9.3", + "phpunit/phpunit": "^9.3 || ^10.0", "spatie/laravel-ray": "^1.23" }, "autoload": {