Commit ca6e0cc0 authored by Marius Burkard's avatar Marius Burkard

taken gitlab ci from merge request !827

parent 6ffa1f6f
...@@ -8,12 +8,12 @@ stages: ...@@ -8,12 +8,12 @@ stages:
syntax:lint: syntax:lint:
stage: syntax stage: syntax
image: bobey/docker-gitlab-ci-runner-php7
allow_failure: false allow_failure: false
script: script:
- composer require overtrue/phplint
- echo "Syntax checking PHP files" - echo "Syntax checking PHP files"
- echo "For more information http://www.icosaedro.it/phplint/" - echo "For more information http://www.icosaedro.it/phplint/"
- shopt -s globstar - vendor/bin/phplint
- set -e
- for x in **/*.php **/*.lng ; do php -l "$x" ; done
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