Vincent 2 年之前
父节点
当前提交
3ba5362715
共有 1 个文件被更改,包括 4 次插入0 次删除
  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
   - bash tests/ci_docker_install.sh > /dev/null
   - php -v
   - php -v
 
 
+static_analysis:
+  script:
+    - vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format=gitlab
+
 unit:
 unit:
   stage: test
   stage: test