Skip to content

Commit ce95f14

Browse files
Merge pull request #27 from lara-zeus/chore/add-phpstan-for-multiple-php-versions
chore(phpstan): add multiple php version analyses
2 parents 24352d0 + b9e997b commit ce95f14

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/phpstan.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@ on:
44
push:
55
paths:
66
- '**.php'
7-
- 'phpstan.neon.dist'
7+
- '**.neon.dist'
88

99
jobs:
1010
phpstan:
11-
name: phpstan
11+
name: phpstan (PHP ${{ matrix.php }})
1212
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
php: [8.2, 8.3]
1316
steps:
1417
- uses: actions/checkout@v4
1518

1619
- name: Setup PHP
1720
uses: shivammathur/setup-php@v2
1821
with:
19-
php-version: '8.3'
22+
php-version: ${{ matrix.php }}
2023
coverage: none
2124

2225
- name: Install composer dependencies

0 commit comments

Comments
 (0)