Commit ca6e0cc0 authored by Marius Burkard's avatar Marius Burkard

taken gitlab ci from merge request !827

parent 6ffa1f6f
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment