-
Notifications
You must be signed in to change notification settings - Fork 360
Commit e199ea2
authored
Run PHPStan using the lowest and highest php version (#811)
This pull request makes changes to the GitHub Actions workflow
configuration for running PHPStan, a PHP static analysis tool. The most
important changes include renaming the job, adding a matrix strategy for
different PHP versions, and updating the PHP installation step.
Improvements to the GitHub Actions workflow:
*
[`.github/workflows/phpstan.yml`](diffhunk://#diff-73a1d6ddd0eabb7e1349cdb83b76ff10f29f9e4fe316c0cd29495174181f4546L15-R36):
Renamed the job from `tests` to `phpstan` to better reflect its purpose.
*
[`.github/workflows/phpstan.yml`](diffhunk://#diff-73a1d6ddd0eabb7e1349cdb83b76ff10f29f9e4fe316c0cd29495174181f4546L15-R36):
Added a matrix strategy to run PHPStan on multiple PHP versions (7.2 and
8.4).
*
[`.github/workflows/phpstan.yml`](diffhunk://#diff-73a1d6ddd0eabb7e1349cdb83b76ff10f29f9e4fe316c0cd29495174181f4546L15-R36):
Updated the PHP installation step to use the matrix's PHP version
instead of a hardcoded version.1 parent c9f00de commit e199ea2
2 files changed
+11
-3
lines changedLines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | - | ||
15 | + | ||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
20 | 26 |
| |
21 | 27 |
| |
22 | 28 |
| |
23 | 29 |
| |
24 | 30 |
| |
25 | 31 |
| |
26 | 32 |
| |
27 | - | ||
33 | + | ||
28 | 34 |
| |
29 | 35 |
| |
30 | - | ||
36 | + | ||
31 | 37 |
| |
32 | 38 |
| |
33 | 39 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | + | ||
10 | + | ||
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
|
0 commit comments