From ce24d4b0137170817818522cc6686fe2e1917e83 Mon Sep 17 00:00:00 2001 From: Alies Lapatsin Date: Sat, 4 Feb 2023 14:54:33 +0100 Subject: [PATCH] Added support for Laravel 10 (+ update testing matrix) (#1407) * Laravel 10 support * Add events v10 to suggestions * Exclude invalid combinations from testing matrix, test on PHP 8.2 * Update CHANGELOG.md * Use laravel/laravel dev-master as 10.x version * Exclude one more laravel-php combination * Use 10.* instead if dev-master * Update run-integration-tests.yml --------- Co-authored-by: Barry vd. Heuvel --- .github/workflows/run-integration-tests.yml | 16 ++++++++++++---- CHANGELOG.md | 1 + 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.yml index 0fce49f..fca1bf4 100644 --- a/.github/workflows/run-integration-tests.yml +++ b/.github/workflows/run-integration-tests.yml @@ -18,7 +18,7 @@ jobs: COMPOSER_NO_INTERACTION: 1 strategy: matrix: - php: [8.1, 8.0, 7.4, 7.3] + php: [8.2, 8.1, 8.0, 7.4, 7.3] lumen: [8.*] name: P${{ matrix.php }} - Lumen${{ matrix.lumen }} steps: @@ -82,9 +82,17 @@ jobs: COMPOSER_NO_INTERACTION: 1 strategy: matrix: - php: [8.1, 8.0, 7.4, 7.3] - laravel: [9.*, 8.*] + php: [8.2, 8.1, 8.0, 7.4, 7.3] + laravel: [10.*, 9.*, 8.*] exclude: + - php: 8.0 + laravel: 10.* + - php: 7.4 + laravel: 10.* + - php: 7.4 + laravel: 10.* + - php: 7.3 + laravel: 10.* - php: 7.4 laravel: 9.* - php: 7.3 @@ -104,7 +112,7 @@ jobs: - name: Install dependencies run: | - composer create-project --prefer-dist laravel/laravel:${{ matrix.laravel }} --no-progress sample + composer create-project --prefer-dist laravel/laravel:${{ matrix.laravel }} --stability=dev --no-progress sample cd sample composer config minimum-stability dev composer update --prefer-stable --prefer-dist --no-progress diff --git a/CHANGELOG.md b/CHANGELOG.md index aa025f3..dd51f26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file. - Improve return type of mock helper methods in tests [#1405 / bentleyo](https://github.com/barryvdh/laravel-ide-helper/pull/1405) ### Added +- Added Laravel 10 support [#1407 / lptn](https://github.com/barryvdh/laravel-ide-helper/pull/1407) - Add support for custom casts that implement `CastsInboundAttributes` [#1329 / sforward](https://github.com/barryvdh/laravel-ide-helper/pull/1329) - Add option `use_generics_annotations` for collection type hints [#1298 / tanerkay](https://github.com/barryvdh/laravel-ide-helper/pull/1298)