mirror of https://github.com/pixelfed/pixelfed.git
use long form flag name --syntax-check for php linting
This commit is contained in:
parent
601a0235af
commit
b702996633
|
@ -55,7 +55,7 @@ jobs:
|
|||
# NOTE: we lint PHP files before composer to avoid wasting time
|
||||
# linting everything in vendor/
|
||||
- name: Lint PHP files
|
||||
run: find . -name '*.php' -exec php -l {} \; > /dev/null
|
||||
run: find . -name '*.php' -exec php --syntax-check {} \; > /dev/null
|
||||
|
||||
- name: Download mlocati/docker-php-extension-installer
|
||||
uses: robinraju/release-downloader@v1.9
|
||||
|
|
Loading…
Reference in New Issue