ttrss/utils/gitlab-ci/php-lint.sh

4 lines
91 B
Bash

#!/bin/sh -e
exec find . -name "*.php" -not -path "*/lib/*" -print0 | xargs -0 -n1 php -l