diff --git a/.drone.yml b/.drone.yml
index 3e161e4288905acbc93ef0309e20d48bbe06380f..2f2867a5b2bb6ad90abac1daf5a0a3b6422c13d3 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -49,8 +49,8 @@ pipeline:
     image: nextcloudci/php7.1:php7.1-15
     commands:
       - composer install
-      - composer require --dev "etsy/phan:dev-master"
-      - ./lib/composer/etsy/phan/phan -k build/.phan/config.php
+      - composer require --dev "phan/phan:dev-master"
+      - ./lib/composer/phan/phan/phan -k build/.phan/config.php
       - php ./build/.phan/plugin-checker.php
     when:
       matrix:
diff --git a/build/.phan/plugin-checker.php b/build/.phan/plugin-checker.php
index 681904264f690702ba60c0009adc13c9e27db975..92eb3496ed5ab328452801dec7c35bf2d26ccd2a 100644
--- a/build/.phan/plugin-checker.php
+++ b/build/.phan/plugin-checker.php
@@ -34,7 +34,7 @@ build/.phan/tests/SqlInjectionCheckerTest.php:70 SqlInjectionChecker Potential S
 
 EOT;
 
-$result = shell_exec('php '. __DIR__ . '/../../lib/composer/etsy/phan/phan -k build/.phan/config.php --include-analysis-file-list build/.phan/tests/* --directory build/.phan/tests/');
+$result = shell_exec('php '. __DIR__ . '/../../lib/composer/phan/phan/phan -k build/.phan/config.php --include-analysis-file-list build/.phan/tests/* --directory build/.phan/tests/');
 
 if($result !== $expected) {
 	echo("Output of phan doesn't match expectation\n");