Skip to content

Commit 90ed801

Browse files
authored
Merge pull request #32 from YieldStudio/feat/laravel-11-support
feat: Adds support for Laravel 11
2 parents 09230c4 + 1bdc5fa commit 90ed801

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,19 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
php: [ "8.1", "8.2" ]
15-
laravel: [ "^9.0", "^10.0" ]
14+
php: ["8.3", "8.2", "8.1"]
15+
laravel: ["^11.0", "^10.0", "^9.0"]
1616
dependency-version: [ prefer-lowest, prefer-stable ]
17+
exclude:
18+
- laravel: "^11.0"
19+
php: "8.1"
20+
include:
21+
- laravel: "^11.0"
22+
testbench: 9.*
23+
- laravel: "^10.0"
24+
testbench: 8.*
25+
- laravel: "^9.0"
26+
testbench: 7.*
1727

1828
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
1929

@@ -36,7 +46,7 @@ jobs:
3646

3747
- name: Install dependencies
3848
run: |
39-
composer require "laravel/framework:${{ matrix.laravel }}" --dev --no-interaction --no-update
49+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" --dev --no-interaction --no-update
4050
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
4151
4252
- name: Execute tests

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@
2727
],
2828
"require": {
2929
"php": "^8.1",
30-
"illuminate/database": "^9|^10",
31-
"illuminate/support": "^9|^10",
30+
"illuminate/database": "^9.0|^10.0|^11.0",
31+
"illuminate/support": "^9.0|^10.0|^11.0",
3232
"nesbot/carbon": ">=2.62.1"
3333
},
3434
"require-dev": {
3535
"ciareis/bypass": "^1.0",
3636
"dg/bypass-finals": "^1.4",
3737
"guzzlehttp/guzzle": "^7.8",
3838
"laravel/pint": "^1.3",
39-
"orchestra/testbench": "7.*|8.*",
40-
"pestphp/pest": "^1.21",
41-
"phpunit/phpunit": "^9.1"
39+
"orchestra/testbench": "^7.0|^8.0|^9.0.2",
40+
"pestphp/pest": "^1.21|^2.0",
41+
"phpunit/phpunit": "^9.4 || ^10.5 || ^11.0"
4242
},
4343
"autoload": {
4444
"psr-4": {

0 commit comments

Comments
 (0)