diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d67a34496af25235b5983ab8679b9508c33e485..67263d33fe53614d4fd1ca8f444707390e164bd1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,12 +8,12 @@ stages: syntax:lint: stage: syntax + image: bobey/docker-gitlab-ci-runner-php7 allow_failure: false script: + - composer require overtrue/phplint - echo "Syntax checking PHP files" - echo "For more information http://www.icosaedro.it/phplint/" - - shopt -s globstar - - set -e - - for x in **/*.php **/*.lng ; do php -l "$x" ; done + - vendor/bin/phplint