Skip to content

Commit e76a964

Browse files
committed
refactor: update dependencies for Laravel 12 compatibility
1 parent 3d7e4c0 commit e76a964

File tree

2 files changed

+26
-20
lines changed

2 files changed

+26
-20
lines changed

.github/workflows/run-tests.yml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,44 @@ on:
99
jobs:
1010
test:
1111
runs-on: ${{ matrix.os }}
12+
13+
timeout-minutes: 5
14+
1215
strategy:
1316
fail-fast: true
1417
matrix:
1518
os: [ubuntu-latest]
16-
php: [8.3, 8.2, 8.1, 8.0]
17-
laravel: [11.*,10.*, 9.*, 8.*]
19+
php: [8.4, 8.3, 8.2, 8.1, 8.0]
20+
laravel: [12.*, 11.*,10.*, 9.*, 8.*]
1821
stability: [prefer-lowest, prefer-stable]
1922
include:
20-
- laravel: 11.*
21-
testbench: ^9.0
22-
carbon: ^2.63
23-
- laravel: 10.*
24-
testbench: ^8.0
23+
- laravel: 8.*
24+
testbench: ^6.23
2525
carbon: ^2.63
2626
- laravel: 9.*
2727
testbench: ^7.0
2828
carbon: ^2.63
29-
- laravel: 8.*
30-
testbench: ^6.23
29+
- laravel: 10.*
30+
testbench: ^8.0
31+
carbon: ^2.63
32+
- laravel: 11.*
33+
testbench: ^9.0
3134
carbon: ^2.63
35+
- laravel: 12.*
36+
testbench: 10.*
3237
exclude:
38+
- laravel: 8.*
39+
php: 8.3
3340
- laravel: 10.*
3441
php: 8.0
3542
- laravel: 11.*
3643
php: 8.0
3744
- laravel: 11.*
3845
php: 8.1
39-
- laravel: 8.*
40-
php: 8.3
46+
- laravel: 12.*
47+
php: 8.0
48+
- laravel: 12.*
49+
php: 8.1
4150

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

composer.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,18 @@
3636
"require": {
3737
"php": "^8.0|^8.1|^8.2|^8.3",
3838
"guzzlehttp/guzzle": "^7.5",
39-
"illuminate/contracts": "^8.50|^9.0|^10.0|^11.0",
40-
"illuminate/support": "^8.50|^9.0|^10.0|^11.0",
39+
"illuminate/contracts": "^8.50|^9.0|^10.0|^11.0|^12.0",
40+
"illuminate/support": "^8.50|^9.0|^10.0|^11.0|^12.0",
4141
"spatie/laravel-package-tools": "^1.11"
4242
},
4343
"require-dev": {
4444
"laravel/pint": "^1.0",
4545
"nunomaduro/collision": "^5.3|^6.0|^v7.10|^8.1.1",
46-
"nunomaduro/larastan": "^1.0.4|^2.2",
47-
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
48-
"pestphp/pest": "^1.21|^2.34",
49-
"pestphp/pest-plugin-laravel": "^1.1|^v2.3.0",
46+
"nunomaduro/larastan": "^1.0.4|^2.2|^3.0",
47+
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0",
48+
"pestphp/pest": "^1.21|^2.0|^3.7",
5049
"phpstan/extension-installer": "^1.1",
51-
"phpstan/phpstan-deprecation-rules": "^1.0",
52-
"phpstan/phpstan-phpunit": "^1.0",
53-
"phpunit/phpunit": "^9.5|^10.4"
50+
"phpstan/phpstan-deprecation-rules": "^1.0"
5451
},
5552
"autoload": {
5653
"files": [

0 commit comments

Comments
 (0)