File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,19 @@ jobs:
37
37
- name : " Checkout code"
38
38
uses : actions/checkout@v4
39
39
40
- - name : " Install PHP with extensions "
40
+ - name : " Install PHP"
41
41
uses : shivammathur/setup-php@v2
42
42
with :
43
43
coverage : " none"
44
44
php-version : ${{ matrix.php }}
45
45
tools : composer:${{ matrix.composer }}
46
46
47
+ - if : matrix.php == '7.1'
48
+ name : " Lint PHP files"
49
+ run : |
50
+ find src/ -name '*.php' | xargs -n1 php -l
51
+ find tests/ -name '*.php' | xargs -n1 php -l
52
+
47
53
- name : " Validate composer.json"
48
54
run : " composer validate --strict --no-check-lock"
49
55
71
77
fi
72
78
73
79
- run : vendor/bin/simple-phpunit
74
-
75
- - if : matrix.php == '7.1'
76
- name : " Lint PHP files"
77
- run : find src/ -name '*.php' | xargs -n1 php -l
You can’t perform that action at this time.
0 commit comments