Skip to content

Commit 0e68064

Browse files
authored
Supports Laravel 12 (#1532)
* Supports Laravel 12 Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * wip Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * Update composer.json --------- Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
1 parent d70ff9e commit 0e68064

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
fail-fast: true
2525
matrix:
2626
php: [8.1, 8.2, 8.3, 8.4]
27-
laravel: [10, 11]
27+
laravel: [10, 11, 12]
2828
include:
2929
- php: '8.0'
3030
laravel: 9
@@ -35,6 +35,8 @@ jobs:
3535
exclude:
3636
- php: 8.1
3737
laravel: 11
38+
- php: 8.1
39+
laravel: 12
3840
- php: 8.4
3941
laravel: 10
4042

@@ -55,7 +57,7 @@ jobs:
5557

5658
- name: Install dependencies
5759
run: |
58-
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}"
60+
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}"
5961
6062
- name: Execute tests
6163
run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"ext-json": "*",
1515
"ext-pcntl": "*",
1616
"ext-posix": "*",
17-
"illuminate/contracts": "^9.21|^10.0|^11.0",
18-
"illuminate/queue": "^9.21|^10.0|^11.0",
19-
"illuminate/support": "^9.21|^10.0|^11.0",
17+
"illuminate/contracts": "^9.21|^10.0|^11.0|^12.0",
18+
"illuminate/queue": "^9.21|^10.0|^11.0|^12.0",
19+
"illuminate/support": "^9.21|^10.0|^11.0|^12.0",
2020
"nesbot/carbon": "^2.17|^3.0",
2121
"ramsey/uuid": "^4.0",
2222
"symfony/console": "^6.0|^7.0",
@@ -26,9 +26,9 @@
2626
},
2727
"require-dev": {
2828
"mockery/mockery": "^1.0",
29-
"orchestra/testbench": "^7.0|^8.0|^9.0",
29+
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0",
3030
"phpstan/phpstan": "^1.10",
31-
"phpunit/phpunit": "^9.0|^10.4",
31+
"phpunit/phpunit": "^9.0|^10.4|^11.5",
3232
"predis/predis": "^1.1|^2.0"
3333
},
3434
"suggest": {

0 commit comments

Comments
 (0)