diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d2866c8c4558825faee3aa4a0c08044b7d82cdc6..080e775984841167a538192c6cc820119e0d08e5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,12 +39,18 @@ phploc:
   <<: *test
   script: vendor/bin/composer test:phploc
 
+phpstan:
+  <<: *test
+  script: vendor/bin/composer test:phpstan
+
 lint:
   <<: *test
   script: vendor/bin/composer test:lint
 
 php-cs-fixer:
   <<: *test
+  before_script:
+    - apt-get update -yqq && apt-get install -yqq git
   script: vendor/bin/composer test:php-cs-fixer
 
 phpcpd: