diff --git a/composer.json b/composer.json
index 76eb4f073b766849469417bb20693c66f58f2df0..764621d6b9b263c7c3dc06a6a98cc9f735f60390 100644
--- a/composer.json
+++ b/composer.json
@@ -25,8 +25,8 @@
   },
   "scripts": {
     "test": [
-      "vendor/bin/phpmd . ansi ./strict.xml",
-      "vendor/bin/phpmd . ansi ./loose.xml"
+      "vendor/bin/phpmd . text ./strict.xml",
+      "vendor/bin/phpmd . text ./loose.xml"
     ]
   }
 }