Skip to content

Commit 3e63bbf

Browse files
Merge pull request #10 from laravel-shift/l12-compatibility
Laravel 12.x Compatibility
2 parents 74659dc + 638b0e6 commit 3e63bbf

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

.github/workflows/run-tests.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,31 @@ name: run-tests
22

33
on:
44
push:
5-
branches: [master]
5+
branches:
6+
- master
67
pull_request:
7-
types: [opened, synchronize, reopened]
8+
types:
9+
- opened
10+
- synchronize
11+
- reopened
812

913
jobs:
1014
test:
1115
runs-on: ${{ matrix.os }}
16+
1217
strategy:
1318
fail-fast: true
1419
matrix:
1520
os: [ubuntu-latest, windows-latest]
1621
php: ['8.1', '8.2', '8.3']
17-
laravel: ['9.*', '10.*', '11.*']
22+
laravel: ['9.*', '10.*', '11.*', '12.*']
1823
stability: [prefer-lowest, prefer-stable]
1924
exclude:
20-
- laravel: '9.*'
25+
- laravel: 9.*
2126
stability: prefer-lowest
22-
- laravel: '11.*'
27+
- laravel: 11.*
28+
php: '8.1'
29+
- laravel: 12.*
2330
php: '8.1'
2431

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

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@
2222
],
2323
"require": {
2424
"php": "^8.1",
25-
"illuminate/contracts": "^9.0|^10.0|^11.0",
26-
"illuminate/http": "^9.0|^10.0|^11.0",
25+
"illuminate/contracts": "^9.0|^10.0|^11.0|^12.0",
26+
"illuminate/http": "^9.0|^10.0|^11.0|^12.0",
2727
"spatie/laravel-package-tools": "^1.9.2"
2828
},
2929
"require-dev": {
3030
"guzzlehttp/guzzle": "^7.8",
3131
"larastan/larastan": "^2.0.1",
32-
"laravel/pint": "^0.2.2",
32+
"laravel/pint": "^0.2.2|^1.21",
3333
"nunomaduro/collision": "^6.0|^7.0|^8.0",
34-
"orchestra/testbench": "^7.0|^8.0|^9.0",
35-
"pestphp/pest-plugin-laravel": "^1.1|^2.0",
34+
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0",
35+
"pestphp/pest-plugin-laravel": "^1.1|^2.0|^3.1",
3636
"phpstan/extension-installer": "^1.1",
37-
"phpstan/phpstan-deprecation-rules": "^1.0",
38-
"phpstan/phpstan-phpunit": "^1.0",
39-
"phpunit/phpunit": "^9.5|^10.0",
37+
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
38+
"phpstan/phpstan-phpunit": "^1.0|^2.0",
39+
"phpunit/phpunit": "^9.5|^10.0|^11.5.3",
4040
"spatie/laravel-ray": "^1.26"
4141
},
4242
"autoload": {

0 commit comments

Comments
 (0)