Skip to content

Commit a8febfc

Browse files
authored
feat: add support for Laravel 12
feat: add support for Laravel 12
2 parents c4a2ad6 + 9091bc1 commit a8febfc

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

.github/workflows/run-tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,30 @@ name: run-tests
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
67
pull_request:
7-
branches: [main]
8+
branches:
9+
- main
810

911
jobs:
1012
test:
1113
runs-on: ${{ matrix.os }}
14+
1215
strategy:
1316
fail-fast: true
1417
matrix:
1518
os: [ubuntu-latest, windows-latest]
1619
php: [8.2, 8.1]
17-
laravel: [10.*]
20+
laravel: ['10.*', '12.*']
1821
stability: [prefer-lowest, prefer-stable]
1922
include:
2023
- laravel: 10.*
2124
testbench: 8.*
2225
carbon: ^2.63
26+
exclude:
27+
- laravel: 12.*
28+
php: 8.1
2329

2430
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2531

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
"require": {
1919
"php": "^8.1",
2020
"filament/filament": "^3.0",
21-
"illuminate/contracts": "^10.0 | ^11.0",
21+
"illuminate/contracts": "^10.0 | ^11.0 | ^12.0",
2222
"spatie/laravel-package-tools": "^1.14.0"
2323
},
2424
"require-dev": {
2525
"laravel/pint": "^1.0",
2626
"nunomaduro/collision": "^7.8",
2727
"nunomaduro/larastan": "^2.0.1",
28-
"orchestra/testbench": "^8.8",
29-
"pestphp/pest": "^2.0",
30-
"pestphp/pest-plugin-arch": "^2.0",
31-
"pestphp/pest-plugin-laravel": "^2.0",
28+
"orchestra/testbench": "^8.8 | ^10.0",
29+
"pestphp/pest": "^2.0 | ^3.7",
30+
"pestphp/pest-plugin-arch": "^2.0 | ^3.0",
31+
"pestphp/pest-plugin-laravel": "^2.0 | ^3.1",
3232
"phpstan/extension-installer": "^1.1",
33-
"phpstan/phpstan-deprecation-rules": "^1.0",
34-
"phpstan/phpstan-phpunit": "^1.0"
33+
"phpstan/phpstan-deprecation-rules": "^1.0 | ^2.0",
34+
"phpstan/phpstan-phpunit": "^1.0 | ^2.0"
3535
},
3636
"autoload": {
3737
"psr-4": {

0 commit comments

Comments
 (0)