Skip to content

Commit 93a9150

Browse files
committed
[1.x] Supports Laravel 12
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 7e6a030 commit 93a9150

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,37 +13,48 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
php: [7.3, 7.4, "8.0", 8.1, 8.2, 8.3]
16-
laravel: [8, 9, 10, 11]
16+
laravel: [8, 9, 10, 11, 12]
1717
stability: ["prefer-lowest", "prefer-stable"]
1818
include:
1919
- php: 8.4
2020
laravel: 11
2121
stability: "prefer-stable"
22+
- php: 8.4
23+
laravel: 12
24+
stability: "prefer-stable"
2225
exclude:
2326
- php: 7.3
2427
laravel: 9
2528
- php: 7.3
2629
laravel: 10
2730
- php: 7.3
2831
laravel: 11
32+
- php: 7.3
33+
laravel: 12
2934
- php: 7.4
3035
laravel: 9
3136
- php: 7.4
3237
laravel: 10
3338
- php: 7.4
3439
laravel: 11
40+
- php: 7.4
41+
laravel: 12
3542
- php: '8.0'
3643
laravel: 9 # Failed security advisory
3744
- php: '8.0'
3845
laravel: 10
3946
- php: '8.0'
4047
laravel: 11
48+
- php: '8.0'
49+
laravel: 12
4150
- php: 8.1
4251
laravel: 6
4352
- php: 8.1
4453
laravel: 7
4554
- php: 8.1
4655
laravel: 11
56+
- php: 8.1
57+
laravel: 12
4758
- php: 8.2
4859
laravel: 6
4960
- php: 8.2
@@ -96,7 +107,7 @@ jobs:
96107
timeout_minutes: 5
97108
max_attempts: 5
98109
command: |
99-
composer require phpunit/phpunit:^10.4 --dev --${{ matrix.stability }} --no-update --no-interaction
110+
composer require "phpunit/phpunit:^10.4|^11.5" --dev --${{ matrix.stability }} --no-update --no-interaction
100111
if: matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' && matrix.laravel >= 11
101112

102113
- name: Set Laravel version

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
"require": {
2828
"php": "^7.3|~8.0.0|~8.1.0|~8.2.0|~8.3.0|~8.4.0",
2929
"ext-json": "*",
30-
"laravel/framework": "^8.74|^9.0|^10.0|^11.0",
30+
"laravel/framework": "^8.74|^9.0|^10.0|^11.0|^12.0",
3131
"symfony/console": "^5.3|^6.0|^7.0"
3232
},
3333
"require-dev": {
3434
"roave/security-advisories": "dev-master",
35-
"orchestra/testbench": "^6.45|^7.44|^8.25|^9.3",
35+
"orchestra/testbench": "^6.45|^7.44|^8.25|^9.3|^10.0",
3636
"mockery/mockery": "^1.3.3",
37-
"phpunit/phpunit": "^8.0|^9.5.8|^10.4"
37+
"phpunit/phpunit": "^8.0|^9.5.8|^10.4|^11.5"
3838
},
3939
"suggest": {
4040
"ext-pcntl": "Recommended when running the Inertia SSR server via the `inertia:start-ssr` artisan command."

0 commit comments

Comments
 (0)