Skip to content

Commit 0366b5d

Browse files
authored
Fix for PHPStan Run
1 parent 5731c09 commit 0366b5d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/run-phpstan-pull.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
os: [ubuntu-24.04]
16-
php: [8.3]
17-
laravel: [11]
15+
os: [ubuntu-latest]
16+
php: [8.4]
17+
laravel: [12]
1818
stability: [prefer-dist]
1919

2020
name: PHPStan - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -77,10 +77,10 @@ jobs:
7777

7878
- name: Update dependencies
7979
if: steps.composer-cache.outputs.cache-hit != 'true'
80-
run: composer update --${{ matrix.stability }} --no-interaction
80+
run: composer update --${{ matrix.stability }} --no-interaction -W
8181

8282
- name: Install PHPStan
83-
run: composer require larastan/larastan:^2.0 --no-interaction
83+
run: composer require larastan/larastan:^3.0 --no-interaction -W
8484

8585
- uses: actions/cache@v4
8686
with:

.github/workflows/run-phpstan.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18-
os: [ubuntu-24.04]
19-
php: [8.3]
20-
laravel: [11]
18+
os: [ubuntu-latest]
19+
php: [8.4]
20+
laravel: [12]
2121
stability: [prefer-dist]
2222

2323
name: PHPStan - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -80,10 +80,10 @@ jobs:
8080

8181
- name: Update dependencies
8282
if: steps.composer-cache.outputs.cache-hit != 'true'
83-
run: composer update --${{ matrix.stability }} --no-interaction
83+
run: composer update --${{ matrix.stability }} --no-interaction -W
8484

8585
- name: Install PHPStan
86-
run: composer require larastan/larastan:^2.0 --dev --no-interaction
86+
run: composer require larastan/larastan:^3.0 --dev --no-interaction -W
8787

8888
- uses: actions/cache@v4
8989
with:

0 commit comments

Comments
 (0)