Skip to content

Commit ce24d4b

Browse files
lptnbarryvdh
andauthored
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 <barryvdh@gmail.com>
1 parent edfb056 commit ce24d4b

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/run-integration-tests.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
COMPOSER_NO_INTERACTION: 1
1919
strategy:
2020
matrix:
21-
php: [8.1, 8.0, 7.4, 7.3]
21+
php: [8.2, 8.1, 8.0, 7.4, 7.3]
2222
lumen: [8.*]
2323
name: P${{ matrix.php }} - Lumen${{ matrix.lumen }}
2424
steps:
@@ -82,9 +82,17 @@ jobs:
8282
COMPOSER_NO_INTERACTION: 1
8383
strategy:
8484
matrix:
85-
php: [8.1, 8.0, 7.4, 7.3]
86-
laravel: [9.*, 8.*]
85+
php: [8.2, 8.1, 8.0, 7.4, 7.3]
86+
laravel: [10.*, 9.*, 8.*]
8787
exclude:
88+
- php: 8.0
89+
laravel: 10.*
90+
- php: 7.4
91+
laravel: 10.*
92+
- php: 7.4
93+
laravel: 10.*
94+
- php: 7.3
95+
laravel: 10.*
8896
- php: 7.4
8997
laravel: 9.*
9098
- php: 7.3
@@ -104,7 +112,7 @@ jobs:
104112

105113
- name: Install dependencies
106114
run: |
107-
composer create-project --prefer-dist laravel/laravel:${{ matrix.laravel }} --no-progress sample
115+
composer create-project --prefer-dist laravel/laravel:${{ matrix.laravel }} --stability=dev --no-progress sample
108116
cd sample
109117
composer config minimum-stability dev
110118
composer update --prefer-stable --prefer-dist --no-progress

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
1313
- Improve return type of mock helper methods in tests [#1405 / bentleyo](https://github.com/barryvdh/laravel-ide-helper/pull/1405)
1414

1515
### Added
16+
- Added Laravel 10 support [#1407 / lptn](https://github.com/barryvdh/laravel-ide-helper/pull/1407)
1617
- Add support for custom casts that implement `CastsInboundAttributes` [#1329 / sforward](https://github.com/barryvdh/laravel-ide-helper/pull/1329)
1718
- Add option `use_generics_annotations` for collection type hints [#1298 / tanerkay](https://github.com/barryvdh/laravel-ide-helper/pull/1298)
1819

0 commit comments

Comments
 (0)