Skip to content

Commit e503454

Browse files
authored
Merge pull request #25 from laravel-shift/l12-compatibility
Laravel 12.x Compatibility
2 parents 79fe288 + 462d340 commit e503454

File tree

2 files changed

+22
-14
lines changed

2 files changed

+22
-14
lines changed

.github/workflows/run-tests.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,31 @@ 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]
16-
php: [8.1]
17-
laravel: [9.*]
19+
php: [8.1, '8.2', '8.3', '8.4']
20+
laravel: ['9.*', '12.*']
1821
stability: [prefer-lowest, prefer-stable]
1922
include:
2023
- laravel: 9.*
2124
testbench: 7.*
25+
- laravel: 12.*
26+
testbench: 10.*
27+
exclude:
28+
- laravel: 12.*
29+
php: 8.1
2230

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

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020
],
2121
"require": {
2222
"php": "^8.1",
23-
"illuminate/contracts": "^9.0|^10.0|^11.0",
24-
"illuminate/support": "^9.0|^10.0|^11.0"
23+
"illuminate/contracts": "^9.0|^10.0|^11.0|^12.0",
24+
"illuminate/support": "^9.0|^10.0|^11.0|^12.0"
2525
},
2626
"require-dev": {
27-
"driftingly/rector-laravel": "^1.2",
27+
"driftingly/rector-laravel": "^1.2|^2.0",
2828
"larastan/larastan": "^2.9.0",
2929
"laravel/pint": "^1.15",
3030
"nunomaduro/collision": "^6.0|^8.0",
31-
"orchestra/testbench": "^7.0|^9.0",
32-
"pestphp/pest": "^1.21|^2.34",
33-
"pestphp/pest-plugin-laravel": "^1.1|^2.3",
31+
"orchestra/testbench": "^7.0|^9.0|^10.0",
32+
"pestphp/pest": "^1.21|^2.34|^3.7",
33+
"pestphp/pest-plugin-laravel": "^1.1|^2.3|^3.1",
3434
"phpstan/extension-installer": "^1.1",
35-
"phpstan/phpstan-deprecation-rules": "^1.0",
36-
"phpstan/phpstan-phpunit": "^1.0",
37-
"phpunit/phpunit": "^9.5|^10.5",
38-
"rector/rector": "^1.0",
35+
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
36+
"phpstan/phpstan-phpunit": "^1.0|^2.0",
37+
"phpunit/phpunit": "^9.5|^10.5|^11.5.3",
38+
"rector/rector": "^1.0|^2.0",
3939
"roave/security-advisories": "dev-latest",
4040
"spatie/laravel-ray": "^1.26"
4141
},

0 commit comments

Comments
 (0)