diff --git a/.drone.yml b/.drone.yml
index a22258128cbaa965242c36a22bae01d9a1c66a62..385138d6c862ba5ee1ab68f873672f4693395903 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -38,10 +38,10 @@ pipeline:
       matrix:
         TESTS: syntax-php7.1
   phan:
-    image: nextcloudci/php7.1:php7.1-16
+    image: nextcloudci/php7.2:php7.2-11
     commands:
       - composer install
-      - composer require --dev "phan/phan:dev-master"
+      - composer require --dev "phan/phan:0.11.1"
       - ./lib/composer/phan/phan/phan -k build/.phan/config.php
       - php ./build/.phan/plugin-checker.php
     when:
@@ -155,7 +155,7 @@ pipeline:
         DB: NODB
         PHP: 7.1
   nodb-php7.2:
-    image: nextcloudci/php7.2:php7.2-10
+    image: nextcloudci/php7.2:php7.2-11
     commands:
       - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
     when:
@@ -179,7 +179,7 @@ pipeline:
         DB: sqlite
         PHP: 7.1
   sqlite-php7.2:
-    image: nextcloudci/php7.2:php7.2-10
+    image: nextcloudci/php7.2:php7.2-11
     commands:
       - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
     when:
@@ -203,7 +203,7 @@ pipeline:
         DB: mysql
         PHP: 7.1
   mysql-php7.2:
-    image: nextcloudci/php7.2:php7.2-10
+    image: nextcloudci/php7.2:php7.2-11
     commands:
       - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
     when:
@@ -277,7 +277,7 @@ pipeline:
         DB: mysqlmb4
         PHP: 7.1
   mysqlmb4-php7.2:
-    image: nextcloudci/php7.2:php7.2-10
+    image: nextcloudci/php7.2:php7.2-11
     commands:
       - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
     when: