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:
3333 - name : " Checkout code"
3434 uses : actions/checkout@v4
3535
36- - name : " Install PHP with extensions "
36+ - name : " Install PHP"
3737 uses : shivammathur/setup-php@v2
3838 with :
3939 coverage : " none"
4040 php-version : ${{ matrix.php }}
4141 tools : composer:${{ matrix.composer }}
4242
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+
4349 - name : " Validate composer.json"
4450 run : " composer validate --strict --no-check-lock"
4551
5561 run : vendor/bin/simple-phpunit install
5662
5763 - 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