Olivier Massot 1 year ago
parent
commit
0ad7f4913f
1 changed files with 8 additions and 0 deletions
  1. 8 0
      .gitlab-ci.yml

+ 8 - 0
.gitlab-ci.yml

@@ -23,6 +23,14 @@ static_analysis:
     reports:
       codequality: phpstan.json
 
+code_style:
+  script:
+    - php vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php --diff -v --format=gitlab --using-cache=no
+  artifacts:
+    when: always
+    reports:
+      codequality: phpstan.json
+
 unit:
   stage: test