Skip to content

Commit ca6e0cc

Browse files
author
Marius Burkard
committed
taken gitlab ci from merge request !827
1 parent 6ffa1f6 commit ca6e0cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ stages:
88

99
syntax:lint:
1010
stage: syntax
11+
image: bobey/docker-gitlab-ci-runner-php7
1112
allow_failure: false
1213

1314
script:
15+
- composer require overtrue/phplint
1416
- echo "Syntax checking PHP files"
1517
- echo "For more information http://www.icosaedro.it/phplint/"
16-
- shopt -s globstar
17-
- set -e
18-
- for x in **/*.php **/*.lng ; do php -l "$x" ; done
18+
- vendor/bin/phplint
1919

0 commit comments

Comments
 (0)