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 @@ -33,13 +33,19 @@ jobs:
33
33
- name : " Checkout code"
34
34
uses : actions/checkout@v4
35
35
36
- - name : " Install PHP with extensions "
36
+ - name : " Install PHP"
37
37
uses : shivammathur/setup-php@v2
38
38
with :
39
39
coverage : " none"
40
40
php-version : ${{ matrix.php }}
41
41
tools : composer:${{ matrix.composer }}
42
42
43
+ - if : matrix.php == '8.0'
44
+ name : " Lint PHP files"
45
+ run : |
46
+ find src/ -name '*.php' | xargs -n1 php -l
47
+ find tests/ -name '*.php' | xargs -n1 php -l
48
+
43
49
- name : " Validate composer.json"
44
50
run : " composer validate --strict --no-check-lock"
45
51
55
61
run : vendor/bin/simple-phpunit install
56
62
57
63
- run : vendor/bin/simple-phpunit
58
-
59
- - if : matrix.php == '8.0'
60
- name : " Lint PHP files"
61
- run : find src/ -name '*.php' | xargs -n1 php -l
You can’t perform that action at this time.
0 commit comments