diff --git a/composer.json b/composer.json
index ff7527994e06e06202718a47f826a05e00f715f8..fae29a0d78c1b7509725942fe7e4edef09f42db0 100644
--- a/composer.json
+++ b/composer.json
@@ -4,7 +4,7 @@
         "shim"
     ],
     "homepage": "https://github.com/sebastianbergmann/phpcpd",
-    "version": "4.0.0",
+    "version": "4.1.0",
     "license": [
         "BSD-3-Clause"
     ],
@@ -20,7 +20,8 @@
         "phpcpd"
     ],
     "require": {
-        "php": "^7.1"
+        "php": "^7.1",
+        "ext-dom": "*"
     },
     "replace": {
         "sebastian/phpcpd": "self.version"
diff --git a/phpcpd b/phpcpd
index 833f43ae95a5194e935217c32416180a6d250721..db3a403cd94a497e14eab4363a2cd666880b52d0 100755
Binary files a/phpcpd and b/phpcpd differ
diff --git a/phpcpd.asc b/phpcpd.asc
index 12d4704273ca714822d8c10285e7f40b89d03fbf..148cd4aa4a7b5c9b5ad11db5254a7e9d13964cec 100644
Binary files a/phpcpd.asc and b/phpcpd.asc differ