From 27e1e652a8c251e9653f7023601a0b6cfff07159 Mon Sep 17 00:00:00 2001
From: Fabrice Gangler <fabrice.gangler@adullact.org>
Date: Fri, 28 Feb 2020 18:27:36 +0100
Subject: [PATCH] CHORE(git hook): enable "PHP Code Sniffer"

Refs: #19
---
 webapp/.phpcs.xml  | 2 +-
 webapp/grumphp.yml | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/webapp/.phpcs.xml b/webapp/.phpcs.xml
index db4df9e..1247010 100644
--- a/webapp/.phpcs.xml
+++ b/webapp/.phpcs.xml
@@ -36,7 +36,7 @@
         <!-- config/bootstrap.php : 2 complex lines exceeds 120 characters -->
         <exclude-pattern>config/bootstrap.php</exclude-pattern>
     </rule>
-    
+
 
 <!--
    You can hard-code command line values into your custom standard.
diff --git a/webapp/grumphp.yml b/webapp/grumphp.yml
index eab5e83..e055c53 100644
--- a/webapp/grumphp.yml
+++ b/webapp/grumphp.yml
@@ -17,14 +17,14 @@ parameters:
             tasks:
                 - composer
                 - securitychecker
-        #                - phpcs
+                - phpcs
                 - phpmd
                 - phplint
                 - jsonlint
                 - xmllint
                 - yamllint
                 - file_size
-        #                - git_blacklist
+              # - git_blacklist
         ##
         ## test-suite for the "vendor/bin/grumphp run --testsuite linter_testSuite" command:
         ## ---> run following tasks on the full codebase
@@ -40,9 +40,9 @@ parameters:
         php_testSuite:
             tasks:
                 - phplint
-        #                - phpcs
-        #                - phpcpd
+                - phpcs
                 - phpmd
+             # - phpcpd
     tasks:
         ##
         ######## git_commit_msg
-- 
GitLab