File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 6
6
push :
7
7
paths-ignore :
8
8
- ' **.md'
9
+ - ' **.xml'
9
10
pull_request :
10
11
# Allow manually triggering the workflow.
11
12
workflow_dispatch :
@@ -18,7 +19,7 @@ concurrency:
18
19
19
20
jobs :
20
21
phpstan :
21
- name : " PHP: 7.4 | PHPStan"
22
+ name : " PHPStan"
22
23
23
24
runs-on : " ubuntu-latest"
24
25
43
44
custom-cache-suffix : $(date -u "+%Y-%m")
44
45
45
46
- name : Run PHPStan
46
- run : phpstan analyse --configuration=phpstan.neon
47
+ run : phpstan analyse
Original file line number Diff line number Diff line change 1
1
parameters:
2
+ phpVersion: 70100 # Should be 50400, but PHPStan only accepts 70100 or higher...
2
3
level: 0
3
4
paths:
4
5
- src
@@ -8,7 +9,7 @@ parameters:
8
9
-
9
10
count: 1
10
11
message: '~^Undefined variable: \$phpCodeSnifferConfig$~'
11
- path : %currentWorkingDirectory%/ src/Config.php
12
+ path: src/Config.php
12
13
13
14
dynamicConstantNames:
14
15
- PHP_CODESNIFFER_IN_TESTS
You can’t perform that action at this time.
0 commit comments