diff options
author | Andrew Dolgov <[email protected]> | 2017-04-26 16:26:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-04-26 16:26:53 +0300 |
commit | 39238155802534f9234835e9fce0fd9c5348221e (patch) | |
tree | 80e5f269feed1b8fbf379f1ed02052e8d7355dbe /utils/gitlab-ci/php-lint.sh | |
parent | 897804cef29e4d7d851985eab921ffad8106b0cf (diff) |
ci: check syntax via php first
Diffstat (limited to 'utils/gitlab-ci/php-lint.sh')
-rw-r--r-- | utils/gitlab-ci/php-lint.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/gitlab-ci/php-lint.sh b/utils/gitlab-ci/php-lint.sh new file mode 100644 index 000000000..172abd873 --- /dev/null +++ b/utils/gitlab-ci/php-lint.sh @@ -0,0 +1,3 @@ +#!/bin/sh -e + +exec find . -name "*.php" -not -path "*/lib/*" -print0 | xargs -0 -n1 php -l |