From 9a1f097fac4b0e1625389ff94243f26af4a3daa0 Mon Sep 17 00:00:00 2001 From: Marius Burkard Date: Thu, 25 Oct 2018 16:10:33 +0200 Subject: [PATCH] - taken gitlab ci config from merge request !827 --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d67a3449..67263d33f 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 -- GitLab