diff --git a/.github/workflows/autoformat.yml b/.github/workflows/autoformat.yml index 1a7f425..5b4e7de 100644 --- a/.github/workflows/autoformat.yml +++ b/.github/workflows/autoformat.yml @@ -8,7 +8,7 @@ jobs: composer-normalize: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} @@ -29,7 +29,7 @@ jobs: prettier: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} @@ -44,7 +44,7 @@ jobs: php-cs-fixer: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ce2db1f..98b9b3d 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -17,19 +17,27 @@ jobs: - "8.0" - "8.1" - "8.2" + - "8.3" laravel-version: - "^8" - "^9" - "^10" + - "^11" exclude: - php-version: "7.4" laravel-version: "^9" - php-version: "7.4" laravel-version: "^10" + - php-version: "7.4" + laravel-version: "^11" - php-version: "8.0" laravel-version: "^10" + - php-version: "8.0" + laravel-version: "^11" + - php-version: "8.1" + laravel-version: "^11" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 862c057..8baf873 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## v2.3.0 + +### Added + +- Support Laravel 11 + ## v2.2.0 ### Added diff --git a/Makefile b/Makefile index 0acacb2..bf17603 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ setup: vendor ## Setup the local environment .PHONY: fix fix: ## Fix code style + composer normalize vendor/bin/php-cs-fixer fix .PHONY: stan diff --git a/composer.json b/composer.json index 2115362..39f7728 100644 --- a/composer.json +++ b/composer.json @@ -15,17 +15,18 @@ ], "require": { "php": "^7.4 || ^8", - "illuminate/console": "^8 || ^9 || ^10", - "illuminate/contracts": "^8 || ^9 || ^10", - "illuminate/support": "^8 || ^9 || ^10", + "illuminate/console": "^8 || ^9 || ^10 || ^11", + "illuminate/contracts": "^8 || ^9 || ^10 || ^11", + "illuminate/support": "^8 || ^9 || ^10 || ^11", "thecodingmachine/safe": "^1 || ^2" }, "require-dev": { "ergebnis/composer-normalize": "^2", - "laravel/lumen-framework": "^8 || ^9 || ^10", + "laravel/lumen-framework": "^8 || ^9 || ^10 || ^11", "mll-lab/php-cs-fixer-config": "^5", "nunomaduro/larastan": "^0.7 || ^1 || ^2", - "orchestra/testbench": "^6 || ^7 || ^8", + "orchestra/testbench": "^6 || ^7 || ^8 || ^9", + "phpstan/extension-installer": "^1", "thecodingmachine/phpstan-safe-rule": "^1" }, "minimum-stability": "dev", @@ -37,7 +38,8 @@ }, "config": { "allow-plugins": { - "ergebnis/composer-normalize": true + "ergebnis/composer-normalize": true, + "phpstan/extension-installer": true }, "sort-packages": true }, diff --git a/phpstan.neon b/phpstan.neon index 3e2b2d5..1473bc6 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,6 +1,3 @@ -includes: -- vendor/nunomaduro/larastan/extension.neon -- vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon parameters: level: max paths: