Skip to content

Commit cce2fe5

Browse files
Laravel 9 support (#461)
* Laravel 9 support * Update tests.yml * Update composer.json * Re-adds collision * Sorts composer json dependencies Co-authored-by: Nuno Maduro <[email protected]>
1 parent 2f21999 commit cce2fe5

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [8.0, 8.1]
17-
laravel: [^8.35]
16+
php: ['8.0', 8.1]
17+
laravel: [8, 9]
1818
driver: [swoole, openswoole]
1919

2020
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.driver }}
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Install dependencies
3939
run: |
40-
composer require laravel/framework:"^8.35" --no-update
40+
composer require "laravel/framework:^${{ matrix.laravel }}" --no-update
4141
composer update --prefer-dist --no-interaction --no-progress
4242
4343
- name: Execute tests

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,17 @@
1515
],
1616
"require": {
1717
"php": "^8.0",
18-
"laravel/framework": "^8.77",
18+
"laravel/framework": "^8.77|^9.0",
1919
"laminas/laminas-diactoros": "^2.5",
2020
"laravel/serializable-closure": "^1.0",
2121
"symfony/psr-http-message-bridge": "^2.0"
2222
},
2323
"require-dev": {
2424
"guzzlehttp/guzzle": "^7.2",
2525
"mockery/mockery": "^1.4",
26-
"nunomaduro/collision": "^5.3",
27-
"orchestra/testbench": "^6.16",
26+
"nunomaduro/collision": "^5.10|^6.0",
27+
"orchestra/testbench": "^6.16|^7.0",
2828
"phpunit/phpunit": "^9.3",
29-
"spatie/laravel-ray": "^1.14",
3029
"spiral/roadrunner": "^2.0"
3130
},
3231
"bin": [

0 commit comments

Comments
 (0)