use long form flag name --syntax-check for php linting

This commit is contained in:
Christian Winther 2024-02-11 15:59:08 +00:00
parent 601a0235af
commit b702996633
1 changed files with 1 additions and 1 deletions

View File

@ -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