Skip to content

Commit fda09b3

Browse files
authored
Merge pull request #137 from matsuo/phpstan
Set the rule level of PHPStan to 2
2 parents 7c425a0 + 6528307 commit fda09b3

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/phpstan.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: 'ubuntu-latest'
1414
strategy:
1515
matrix:
16-
level: [ 1, 2 ]
16+
level: [ 2, 3 ]
1717
include:
18-
- current-level: 1
18+
- current-level: 2
1919
steps:
20-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2121

2222
- name: Setup PHP
2323
uses: ./.github/actions/setup-php
@@ -27,13 +27,11 @@ jobs:
2727

2828
- name: Restore cached baseline for PHPStan
2929
id: cache-baseline-restore
30-
uses: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
30+
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
3131
with:
32-
path: |
33-
test/phpstan-baseline.neon
32+
path: test/phpstan-baseline.neon
3433
key: phpstan-baseline-${{ github.run_id }}"
35-
restore-keys: |
36-
phpstan-baseline-
34+
restore-keys: phpstan-baseline-
3735

3836
- name: Run PHPStan
3937
if: matrix.level < matrix.current-level || matrix.level == matrix.current-level

0 commit comments

Comments
 (0)