Skip to content

Commit 9b1c6f6

Browse files
erikn69freekmurze
authored andcommitted
Laravel 12 Support
1 parent 33e48ef commit 9b1c6f6

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

.github/workflows/dependabot-auto-merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- name: Dependabot metadata
1616
id: metadata
17-
uses: dependabot/fetch-metadata@v2.3.0
17+
uses: dependabot/fetch-metadata@v2
1818
with:
1919
github-token: "${{ secrets.GITHUB_TOKEN }}"
2020

.github/workflows/php-cs-fixer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
ref: ${{ github.head_ref }}
2121

2222
- name: Fix PHP code style issues
23-
uses: aglipanci/laravel-pint-action@2.4
23+
uses: aglipanci/laravel-pint-action@v2
2424

2525
- name: Commit changes
2626
uses: stefanzweifel/git-auto-commit-action@v5

.github/workflows/run-tests.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ jobs:
1818
matrix:
1919
os: [ubuntu-latest]
2020
php: [8.4, 8.3, 8.2]
21-
laravel: [11.*, 10.*]
21+
laravel: [12.*, 11.*, 10.*]
2222
stability: [prefer-lowest, prefer-stable]
23-
carbon: [^2.63]
2423
include:
2524
- laravel: 10.*
2625
testbench: 8.*
2726
- laravel: 11.*
2827
testbench: 9.*
28+
- laravel: 12.*
29+
testbench: 10.*
2930

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

@@ -52,14 +53,12 @@ jobs:
5253
5354
- name: Install dependencies
5455
run: |
55-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.os == 'windows-latest' && '^^^' || '' }}${{ matrix.carbon }}" --no-interaction --no-update
56+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
57+
composer remove "larastan/larastan" --dev --no-interaction --no-update
5658
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5759
5860
- name: List Installed Dependencies
5961
run: composer show -D
6062

6163
- name: Execute tests
6264
run: vendor/bin/pest --ci
63-
64-
65-

composer.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"require": {
2121
"php": "^8.2",
2222
"ext-zip": "^1.14.0",
23-
"illuminate/console": "^10.10.0|^11.0",
24-
"illuminate/contracts": "^10.10.0|^11.0",
25-
"illuminate/events": "^10.10.0|^11.0",
26-
"illuminate/filesystem": "^10.10.0|^11.0",
27-
"illuminate/notifications": "^10.10.0|^11.0",
28-
"illuminate/support": "^10.10.0|^11.0",
23+
"illuminate/console": "^10.10.0|^11.0|^12.0",
24+
"illuminate/contracts": "^10.10.0|^11.0|^12.0",
25+
"illuminate/events": "^10.10.0|^11.0|^12.0",
26+
"illuminate/filesystem": "^10.10.0|^11.0|^12.0",
27+
"illuminate/notifications": "^10.10.0|^11.0|^12.0",
28+
"illuminate/support": "^10.10.0|^11.0|^12.0",
2929
"league/flysystem": "^3.0",
3030
"spatie/db-dumper": "^3.7",
3131
"spatie/laravel-package-tools": "^1.6.2",
@@ -37,12 +37,12 @@
3737
"require-dev": {
3838
"composer-runtime-api": "^2.0",
3939
"ext-pcntl": "*",
40-
"larastan/larastan": "^2.7.0",
40+
"larastan/larastan": "^2.7.0|^3.0",
4141
"laravel/slack-notification-channel": "^2.5|^3.0",
4242
"league/flysystem-aws-s3-v3": "^2.0|^3.0",
4343
"mockery/mockery": "^1.4",
44-
"orchestra/testbench": "^8.0|^9.0",
45-
"pestphp/pest": "^1.20|^2.0",
44+
"orchestra/testbench": "^8.0|^9.0|^10.0",
45+
"pestphp/pest": "^1.20|^2.0|^3.0",
4646
"phpstan/extension-installer": "^1.1",
4747
"phpstan/phpstan-deprecation-rules": "^1.0",
4848
"phpstan/phpstan-phpunit": "^1.1",

0 commit comments

Comments
 (0)