From 32c36f4c18dba1cd6e029e4b5b260494640677f0 Mon Sep 17 00:00:00 2001
From: Jonathan Swaelens <swaelens.jonathan@opensides.be>
Date: Tue, 19 Sep 2017 12:39:10 +0200
Subject: [PATCH] :ambulance: feat(gitlab-ci) Add .inc files to php lint check

Add .inc files to php lint check

closes #5693

Signed-off-by: Jonathan Swaelens <swaelens.jonathan@opensides.be>
---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ef97428db..39439246b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,6 +25,6 @@ create_php_code_sniffer_rapport:
     - phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml .
 
 # PHP lint
-create_php_list_rapport:
+create_php_lint_rapport:
   script:
-    - find . -type f -name '*.php' -exec php -l "{}" \;
+    - find . -type f -name '*.php' -name '*.inc' -exec php -l "{}" \;
-- 
GitLab