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

6 lines
96 B
Bash
Raw Normal View History

2019-03-22 22:17:29 +08:00
#!/bin/sh
set -e
exec find . -name "*.php" -not -path "*/lib/*" -print0 | xargs -0 -n1 php -l