From 875984d25fc9539f157391cc750e7b7bee744710 Mon Sep 17 00:00:00 2001
From: Thibault Dockx <thibault.dockx@fusiondirectory.org>
Date: Thu, 17 Mar 2022 14:59:37 -0400
Subject: [PATCH] :spakles: Feat (CI) gitlab ci updates CORE to reflect php 7.0
 - 7.4

Gitlab-ci.yml requires updates following PHPCompatibility and PHPcsutils
---
 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 12f9db576..4a77b3a12 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,8 +63,7 @@ create_php_code_sniffer_rapport:
     - git clone --depth 1 https://github.com/PHPCompatibility/PHPCompatibility.git ../PHPCompatibility
     - git clone --depth 1 https://github.com/PHPCSStandards/PHPCSUtils.git ../PHPCSUtils
     - phpcs --config-set installed_paths /builds/fusiondirectory/PHPCompatibility,/builds/fusiondirectory/PHPCSUtils
-    - PHP_MIN_VERSION=$(grep PHP_MIN_VERSION include/variables_common.inc| cut -d\' -f4| cut -d"." -f 1-2)
-    - phpcs --standard=PHPCompatibility --runtime-set testVersion $PHP_MIN_VERSION- --file-list=./filelist
+    - phpcs --standard=PHPCompatibility --runtime-set testVersion 7.0-7.4 --file-list=./filelist
 
 # phpstan
 create_phpstan_rapport:
-- 
GitLab