diff --git a/includes/tests/lint.yml b/includes/tests/lint.yml
index 96aac7d88f39710888b7b2946e218adc7019eaf7..80a36ade93035328a051d474a6cae680a5b61279 100644
--- a/includes/tests/lint.yml
+++ b/includes/tests/lint.yml
@@ -2,7 +2,7 @@
   stage: tests
   script:
     - composer install --no-dev
-    - find -name '*.php' -print0 | xargs -n1 -0 -P16 php -l 2>/dev/null
+    - find -name '*.php' -print0 |xargs -n1 -0 -P16 php -l |grep -v "No syntax errors detected"
 
 lint:8.1:
   <<: *lint-tmpl