From b77ce75d6f0406a58b1d821b1145f64bb5aa2549 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Wed, 22 Aug 2018 08:21:16 -0700
Subject: [PATCH] Add linting

---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e953026..f71f871 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,6 +29,7 @@ PHPunit:PHP5.3:MySQL:
   services:
     - mysql:5.6
   script:
+    - find . -type "f" -iname "*.php" | xargs -L "1" php -l
     - phpcs -n
     - phpunit
 
@@ -37,6 +38,7 @@ PHPunit:PHP5.6:MySQL:
   services:
     - mysql:5.6
   script:
+    - find . -type "f" -iname "*.php" | xargs -L "1" php -l
     - phpcs -n
     - phpunit
 
@@ -45,6 +47,7 @@ PHPunit:PHP7.0:MySQL:
   services:
     - mysql:5.6
   script:
+    - find . -type "f" -iname "*.php" | xargs -L "1" php -l
     - phpcs -n
     - phpunit
 
@@ -53,6 +56,7 @@ PHPunit:PHP7.1:MySQL:
   services:
     - mysql:5.6
   script:
+    - find . -type "f" -iname "*.php" | xargs -L "1" php -l
     - phpcs -n
     - phpunit
 
@@ -61,5 +65,6 @@ PHPunit:PHP7.2:MySQL:
   services:
     - mysql:5.6
   script:
+    - find . -type "f" -iname "*.php" | xargs -L "1" php -l
     - phpcs -n
     - phpunit
-- 
GitLab