Vincent 2 years ago
parent
commit
3ba5362715
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .gitlab-ci.yml

+ 4 - 0
.gitlab-ci.yml

@@ -14,6 +14,10 @@ before_script:
   - bash tests/ci_docker_install.sh > /dev/null
   - php -v
 
+static_analysis:
+  script:
+    - vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format=gitlab
+
 unit:
   stage: test