Skip to content

Commit 4129b8e

Browse files
committed
refactor: update dependencies for Laravel 12 compatibility
1 parent e76a964 commit 4129b8e

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,12 @@ jobs:
2222
include:
2323
- laravel: 8.*
2424
testbench: ^6.23
25-
carbon: ^2.63
2625
- laravel: 9.*
2726
testbench: ^7.0
28-
carbon: ^2.63
2927
- laravel: 10.*
3028
testbench: ^8.0
31-
carbon: ^2.63
3229
- laravel: 11.*
3330
testbench: ^9.0
34-
carbon: ^2.63
3531
- laravel: 12.*
3632
testbench: 10.*
3733
exclude:
@@ -68,7 +64,7 @@ jobs:
6864
6965
- name: Install dependencies
7066
run: |
71-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
67+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:>=2.72" --dev --no-interaction --no-update
7268
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
7369
7470
- name: List Installed Dependencies

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@
4141
"spatie/laravel-package-tools": "^1.11"
4242
},
4343
"require-dev": {
44-
"laravel/pint": "^1.0",
44+
"laravel/pint": "^1.14",
4545
"nunomaduro/collision": "^5.3|^6.0|^v7.10|^8.1.1",
4646
"nunomaduro/larastan": "^1.0.4|^2.2|^3.0",
4747
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0",
4848
"pestphp/pest": "^1.21|^2.0|^3.7",
49+
"pestphp/pest-plugin-laravel": "^1.1|^v2.3.0|^3.0",
4950
"phpstan/extension-installer": "^1.1",
5051
"phpstan/phpstan-deprecation-rules": "^1.0"
5152
},

0 commit comments

Comments
 (0)