From 2a0f320e8b2af2f6151e16c4adb174527e64c63b Mon Sep 17 00:00:00 2001
From: Thibault Dockx <thibault.dockx@fusiondirectory.org>
Date: Mon, 29 Aug 2022 17:45:18 +0100
Subject: [PATCH] :ambulance: Fix(CI): Adds PHPStan specific version

Specific version added to PHPStan.
A newer version exists and will be updated later on.
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 50faaa010..472ea494b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,6 +74,7 @@ create_phpstan_rapport:
   script:
     - test -d ../dev-tools/ && rm -Rf ../dev-tools/
     - git clone --depth 1 https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools
+    - composer global require phpstan/phpstan=0.12.94
     - cp ../dev-tools/phpstan/fusiondirectory/1.4-dev/*.neon .
     - /root/.composer/vendor/bin/phpstan analyse -c phpstan.neon
 
-- 
GitLab