diff --git a/.drone.yml b/.drone.yml
index 0e87b9746967171d0751bcbd38035843bc54e62e..978368bd8aa3221cafa832cf811621239ea9d14c 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -81,6 +81,14 @@ pipeline:
     when:
       matrix:
         TESTS: syntax-php7.1
+  syntax-php7.2:
+    image: nextcloudci/php7.2:php7.2-12
+    commands:
+      - composer install
+      - ./lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php .
+    when:
+      matrix:
+        TESTS: syntax-php7.2
   phan:
     image: nextcloudci/php7.2:php7.2-12
     commands:
@@ -903,6 +911,7 @@ matrix:
     - TESTS: jsunit
     - TESTS: syntax-php7.0
     - TESTS: syntax-php7.1
+    - TESTS: syntax-php7.2
     - TESTS: phan
     - TESTS: litmus-v1
     - TESTS: litmus-v2