diff --git a/.github/workflows/.github-actions.yml b/.github/workflows/.github-actions.yml index 1b88fba..18a9643 100644 --- a/.github/workflows/.github-actions.yml +++ b/.github/workflows/.github-actions.yml @@ -15,8 +15,9 @@ on: jobs: phpunit: strategy: + fail-fast: false matrix: - version: ['8.1', '8.2'] + version: ['8.1', '8.2', '8.3', '8.4'] runs-on: ubuntu-latest steps: @@ -49,10 +50,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 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 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": { 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 + + 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