Skip to content

Commit de64d66

Browse files
rcerljenkoRicardo Čerljenkobarryvdh
authored
added laravel 9 support (#1297)
* added laravel 9 support * added exclude directives to matrix * fixed matrix * Update composer.json * Update run-integration-tests.yml * Update CHANGELOG.md Co-authored-by: Ricardo Čerljenko <ricardo@lloyds.design> Co-authored-by: Barry vd. Heuvel <barryvdh@gmail.com>
1 parent 93d9873 commit de64d66

File tree

6 files changed

+20
-10
lines changed

6 files changed

+20
-10
lines changed

.github/workflows/fix-code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup PHP
1919
uses: shivammathur/setup-php@v2
2020
with:
21-
php-version: 7.4
21+
php-version: 8.0
2222
coverage: none
2323

2424
- name: Install dependencies

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ jobs:
7777
matrix:
7878
php: [8.1, 8.0, 7.4, 7.3]
7979
laravel: [8.*]
80+
exclude:
81+
- php: 7.4
82+
laravel: 9.*
83+
- php: 7.3
84+
laravel: 9.*
8085
name: P${{ matrix.php }} - Laravel${{ matrix.laravel }}
8186
steps:
8287
- name: Checkout code

.github/workflows/run-static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup PHP
1818
uses: shivammathur/setup-php@v2
1919
with:
20-
php-version: 7.4
20+
php-version: 8.0
2121
coverage: none
2222
extensions: pdo_sqlite
2323

.github/workflows/run-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ jobs:
2121
matrix:
2222
os: [ubuntu-20.04, windows-2019]
2323
php: [8.1, 8.0, 7.4, 7.3]
24-
laravel: [8.*]
24+
laravel: [8.*, 9.*]
2525
dependency-version: [prefer-lowest, prefer-stable]
2626
exclude:
2727
- php: 8.0
2828
dependency-version: prefer-lowest
29+
- php: 7.4
30+
laravel: 9.*
31+
- php: 7.3
32+
laravel: 9.*
2933
- os: windows-2019
3034
php: 7.4
3135
- os: windows-2019

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66
--------------
77
### Added
88
- Add support for custom casts that using `Castable` [#1287 / binotaliu](https://github.com/barryvdh/laravel-ide-helper/pull/1287)
9+
- Added Laravel 9 support [#1297 / rcerljenko](https://github.com/barryvdh/laravel-ide-helper/pull/1297)
910

1011
2022-01-03, 2.11.0
1112
------------------

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,25 @@
2525
"barryvdh/reflection-docblock": "^2.0.6",
2626
"composer/composer": "^1.10.23 || ^2.1.9",
2727
"doctrine/dbal": "^2.6 || ^3",
28-
"illuminate/console": "^8",
29-
"illuminate/filesystem": "^8",
30-
"illuminate/support": "^8",
28+
"illuminate/console": "^8|^9",
29+
"illuminate/filesystem": "^8|^9",
30+
"illuminate/support": "^8|^9",
3131
"nikic/php-parser": "^4.7",
3232
"phpdocumentor/type-resolver": "^1.1.0"
3333
},
3434
"require-dev": {
3535
"ext-pdo_sqlite": "*",
3636
"friendsofphp/php-cs-fixer": "^2",
37-
"illuminate/config": "^8",
38-
"illuminate/view": "^8",
37+
"illuminate/config": "^8|^9",
38+
"illuminate/view": "^8|^9",
3939
"mockery/mockery": "^1.4",
40-
"orchestra/testbench": "^6",
40+
"orchestra/testbench": "^6|^7",
4141
"phpunit/phpunit": "^8.5 || ^9",
4242
"spatie/phpunit-snapshot-assertions": "^3 || ^4",
4343
"vimeo/psalm": "^3.12"
4444
},
4545
"suggest": {
46-
"illuminate/events": "Required for automatic helper generation (^6|^7|^8)."
46+
"illuminate/events": "Required for automatic helper generation (^6|^7|^8|^9)."
4747
},
4848
"config": {
4949
"sort-packages": true

0 commit comments

Comments
 (0)