From 4d1d82e2d7252a0b993fcb3c6bf9563db2372d3a Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@statuscode.ch>
Date: Wed, 19 Jul 2017 10:22:00 +0200
Subject: [PATCH] Install phan manually

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
---
 .drone.yml    | 2 ++
 composer.json | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index f0a06776e6b..fe86379e1b0 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -46,7 +46,9 @@ pipeline:
   phan:
     image: nextcloudci/php7.0:php7.0-13
     commands:
+      - rm /etc/php/7.0/cli/conf.d/20-xdebug.ini
       - composer install
+      - composer require --dev "etsy/phan:0.8.x-dev"
       - ./lib/composer/etsy/phan/phan -k build/.phan/config.php
     when:
       matrix:
diff --git a/composer.json b/composer.json
index c8fbcf6b57e..c75586ee105 100644
--- a/composer.json
+++ b/composer.json
@@ -13,7 +13,6 @@
     },
     "require-dev": {
         "jakub-onderka/php-parallel-lint": "^0.9.2",
-        "jakub-onderka/php-console-highlighter": "^0.3.2",
-        "etsy/phan": "0.8.x-dev"
+        "jakub-onderka/php-console-highlighter": "^0.3.2"
     }
 }
-- 
GitLab