From 39238155802534f9234835e9fce0fd9c5348221e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 26 Apr 2017 16:26:53 +0300 Subject: ci: check syntax via php first --- utils/gitlab-ci/php-lint.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 utils/gitlab-ci/php-lint.sh (limited to 'utils/gitlab-ci/php-lint.sh') 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 -- cgit v1.2.3-54-g00ecf