diff --git a/CHANGELOG.md b/CHANGELOG.md index be5915c..2cb0016 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added support for an Allow List within the Security Checker. - Pimcore PHPStan default config. - Pimcore PHP Mess Detector default config. +- Added constraint for `PHPMD`, since Magento 2.4.8 requires version `3.x-dev`. ### Changed - [BREAKING] The composer.json configurations `config.youwe-testing-suite.type` and `config.mediact-testing-suite.type` diff --git a/composer.json b/composer.json index d91acb3..eb6d8aa 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "kint-php/kint": "@stable", "php-cs-fixer/shim": "@stable", "php-parallel-lint/php-parallel-lint": "^1.4", - "phpmd/phpmd": "^2.15", + "phpmd/phpmd": "^2.15 || 3.x-dev", "phpro/grumphp-shim": "^2.15", "phpstan/phpstan": "@stable", "squizlabs/php_codesniffer": "^3.12.0",