Skip to content

Commit 384d920

Browse files
committed
chore: laravel 12 support
1 parent 5633546 commit 384d920

File tree

3 files changed

+1384
-1806
lines changed

3 files changed

+1384
-1806
lines changed

.github/workflows/tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
php: ['8.2']
12-
laravel: [9.*, 10.*, 11.*]
12+
laravel: [9.*, 10.*, 11.*, 12.*]
1313
include:
1414
- php: 8.1
1515
laravel: 9.*
@@ -29,8 +29,8 @@ jobs:
2929

3030
- name: Install dependencies
3131
run: |
32-
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
33-
composer update --prefer-dist --no-interaction
32+
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
33+
composer update --prefer-dist --no-interaction
3434
3535
- name: Run test suite
3636
run: composer run-script test

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"license": "MIT",
1212
"require": {
13-
"laravel/framework": "^9.19 || ^10.0 || ^11.0",
13+
"laravel/framework": "^9.19 || ^10.0 || ^11.0 || ^12.0",
1414
"opis/json-schema": "^2.3",
1515
"php": "^8.1"
1616
},
@@ -19,8 +19,8 @@
1919
"mockery/mockery": "^1.4.4",
2020
"nunomaduro/collision": "^6.1|7.*|8.*",
2121
"orchestra/testbench": "7.*|8.*|9.*",
22-
"phpstan/phpstan": "^1.8",
23-
"phpunit/phpunit": "~8.0|~9.0|^10.5",
22+
"phpstan/phpstan": "^1.8|^2.1",
23+
"phpunit/phpunit": "~8.0|~9.0|^10.5|^11.5.3",
2424
"squizlabs/php_codesniffer": "^3.7"
2525
},
2626
"autoload": {

0 commit comments

Comments
 (0)