Skip to content

Commit 3c82891

Browse files
authored
Supports Laravel 12 (#1565)
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
1 parent 8941081 commit 3c82891

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/tests.yml

+4-2
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.2
3030
laravel: 9
@@ -41,6 +41,8 @@ jobs:
4141
laravel: 10
4242
- php: 8.1
4343
laravel: 11
44+
- php: 8.1
45+
laravel: 12
4446

4547
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
4648

@@ -59,7 +61,7 @@ jobs:
5961

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

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
"require": {
1717
"php": "^8.0",
1818
"ext-json": "*",
19-
"laravel/framework": "^8.37|^9.0|^10.0|^11.0",
19+
"laravel/framework": "^8.37|^9.0|^10.0|^11.0|^12.0",
2020
"symfony/console": "^5.3|^6.0|^7.0",
2121
"symfony/var-dumper": "^5.0|^6.0|^7.0"
2222
},
2323
"require-dev": {
2424
"ext-gd": "*",
2525
"guzzlehttp/guzzle": "^6.0|^7.0",
2626
"laravel/octane": "^1.4|^2.0|dev-develop",
27-
"orchestra/testbench": "^6.40|^7.37|^8.17|^9.0",
27+
"orchestra/testbench": "^6.40|^7.37|^8.17|^9.0|^10.0",
2828
"phpstan/phpstan": "^1.10",
29-
"phpunit/phpunit": "^9.0|^10.5"
29+
"phpunit/phpunit": "^9.0|^10.5|^11.5"
3030
},
3131
"autoload": {
3232
"psr-4": {

0 commit comments

Comments
 (0)