diff --git a/CHANGELOG.md b/CHANGELOG.md
index c9c70e8..cea8f05 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [3.1.2]
+### Fixed
+- `Failed to locate the main schema resource at 'https://pmd.sourceforge.io/ruleset_xml_schema.xsd'` for php 8.3 and 8.4)
+
+### Changed
+- Update phpmd schema files to 2.0.0 (to match testing-suite's own requirements).
+
## [3.1.1]
### Fixed
- Magento 2 `phpmd.xml` incorrectly overrode `CouplingBetweenObjects`: the design ruleset was included twice, causing
diff --git a/config/default/phpmd.xml b/config/default/phpmd.xml
index 9d9bcf0..0ea4123 100644
--- a/config/default/phpmd.xml
+++ b/config/default/phpmd.xml
@@ -1,8 +1,8 @@
-
+ xsi:schemaLocation="http://pmd.github.io/schema/ruleset/2.0.0 https://pmd.github.io/schema/ruleset_2_0_0.xsd">
Default / Fallback configuration for PHPMD rulesets.
-
-
+
+
\ No newline at end of file
diff --git a/templates/files/drupal/phpmd.xml b/templates/files/drupal/phpmd.xml
index 9e69eda..7a58947 100644
--- a/templates/files/drupal/phpmd.xml
+++ b/templates/files/drupal/phpmd.xml
@@ -1,8 +1,8 @@
+ xsi:schemaLocation="http://pmd.github.io/schema/ruleset/2.0.0 https://pmd.github.io/schema/ruleset_2_0_0.xsd">
PHPMD
diff --git a/templates/files/magento2/phpmd.xml b/templates/files/magento2/phpmd.xml
index f8921c3..66b4a83 100644
--- a/templates/files/magento2/phpmd.xml
+++ b/templates/files/magento2/phpmd.xml
@@ -1,8 +1,8 @@
+ xsi:schemaLocation="http://pmd.github.io/schema/ruleset/2.0.0 https://pmd.github.io/schema/ruleset_2_0_0.xsd">
PHPMD
diff --git a/templates/files/pimcore/phpmd.xml b/templates/files/pimcore/phpmd.xml
index 13132e6..76a60f0 100644
--- a/templates/files/pimcore/phpmd.xml
+++ b/templates/files/pimcore/phpmd.xml
@@ -1,9 +1,9 @@
+ xsi:schemaLocation="http://pmd.github.io/schema/ruleset/2.0.0 https://pmd.github.io/schema/ruleset_2_0_0.xsd">
PHPMD
-
+
\ No newline at end of file