From 8b160943f62ecd1297fdb65a123cb29a33535611 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 18 Feb 2025 18:37:25 +0000 Subject: [PATCH 1/6] Bump dependencies for Laravel 12 --- composer.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 8297387..4b9d0b2 100644 --- a/composer.json +++ b/composer.json @@ -11,16 +11,16 @@ "minimum-stability": "dev", "require": { "php": "^8.1", - "illuminate/support": "^10.0|^11.0", - "illuminate/database": "^10.0|^11.0", - "illuminate/contracts": "^10.0|^11.0", - "illuminate/session": "^10.0|^11.0" + "illuminate/support": "^10.0|^11.0|^12.0", + "illuminate/database": "^10.0|^11.0|^12.0", + "illuminate/contracts": "^10.0|^11.0|^12.0", + "illuminate/session": "^10.0|^11.0|^12.0" }, "require-dev": { "roave/security-advisories": "dev-latest", "mockery/mockery": "^1.0", - "orchestra/testbench": "^8.0|^9.0", - "phpunit/phpunit": "^9.0|^10.5" + "orchestra/testbench": "^8.0|^9.0|^10.0", + "phpunit/phpunit": "^9.0|^10.5|^11.5.3" }, "autoload": { "psr-4": { From 90b0cd492d3bf7bf0f7ba75ae48816833eb23f87 Mon Sep 17 00:00:00 2001 From: Matt Clinton Date: Wed, 26 Feb 2025 18:06:17 +0000 Subject: [PATCH 2/6] Update GitHub actions --- .github/workflows/.github-actions.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/.github-actions.yml b/.github/workflows/.github-actions.yml index 1b88fba..2adf94f 100644 --- a/.github/workflows/.github-actions.yml +++ b/.github/workflows/.github-actions.yml @@ -16,7 +16,7 @@ jobs: phpunit: strategy: matrix: - version: ['8.1', '8.2'] + version: ['8.1', '8.2', '8.3', '8.4'] runs-on: ubuntu-latest steps: @@ -49,10 +49,3 @@ jobs: run: | export CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} bash <(curl -s https://codecov.io/bash) || echo 'Codecov failed to upload' - - - name: Upload log artifacts - uses: actions/upload-artifact@v2 - with: - name: logs - path: ~/storage/logs - retention-days: 3 From 48ce581bb44885a88b135e7dfd2aec3f806f54be Mon Sep 17 00:00:00 2001 From: Matt Clinton Date: Wed, 26 Feb 2025 18:49:47 +0000 Subject: [PATCH 3/6] Add fail-fast flag --- .github/workflows/.github-actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/.github-actions.yml b/.github/workflows/.github-actions.yml index 2adf94f..18a9643 100644 --- a/.github/workflows/.github-actions.yml +++ b/.github/workflows/.github-actions.yml @@ -15,6 +15,7 @@ on: jobs: phpunit: strategy: + fail-fast: false matrix: version: ['8.1', '8.2', '8.3', '8.4'] runs-on: ubuntu-latest From 8fae44062ca1645b567d35cc8a12cbdd15e29578 Mon Sep 17 00:00:00 2001 From: Matt Clinton Date: Wed, 26 Feb 2025 18:58:29 +0000 Subject: [PATCH 4/6] Update phpunit.xml --- phpunit.xml | 57 +++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 30 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 508a58f..18f6c5c 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,34 +1,31 @@ - - - - ./tests - - - - - src - - vendor - tests - - - - - - - - - - + + + ./tests + + + + + + + + + + + + src + + + vendor + tests + + From dfe206c9ad17ee338e35121b84be4b5dc5cf1e4e Mon Sep 17 00:00:00 2001 From: Matt Clinton Date: Wed, 26 Feb 2025 19:00:55 +0000 Subject: [PATCH 5/6] Update CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8e8984..9121ce9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [5.0.2] - 26-02-2025 +- Laravel 12 compatibility +- Update phpunit configuration ## [5.0.1] - 13-03-2024 - Laravel 11 compatibility ## [5.0.0] - 01-05-2023 From b812c5b8461feeff2c2b09d389c27e65cd3aac8a Mon Sep 17 00:00:00 2001 From: Matt Clinton Date: Wed, 26 Feb 2025 19:02:20 +0000 Subject: [PATCH 6/6] Update lint --- src/Toaster.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Toaster.php b/src/Toaster.php index c48aa9e..e504b52 100644 --- a/src/Toaster.php +++ b/src/Toaster.php @@ -166,8 +166,8 @@ public function speed(int $value) /** * Add a message to the toaster. * - * @param $message string - * @param $title null|string + * @param $message string + * @param $title null|string * @param $properties null|array * * @throws \Exception