From ab06d142f67d6f7442087c2ed6d0c591ac6324e2 Mon Sep 17 00:00:00 2001 From: marcelmanzel Date: Mon, 29 Apr 2024 10:16:34 +0200 Subject: [PATCH] OXDEV-7732: Increase deptrac version; Add phpmd folder; --- composer.json | 4 ++-- tests/PhpMd/exclude-ruleset.xml | 33 +++++++++++++++++++++++++++++++++ tests/PhpMd/standard.xml | 18 ++++++++++++++++++ 3 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 tests/PhpMd/exclude-ruleset.xml create mode 100644 tests/PhpMd/standard.xml diff --git a/composer.json b/composer.json index 76d27fd..e550f09 100644 --- a/composer.json +++ b/composer.json @@ -32,8 +32,8 @@ "phpunit/phpunit": "^10.4", "squizlabs/php_codesniffer": "3.*", "phpmd/phpmd": "^2.11", - "oxid-esales/oxideshop-ce": "^7.0", - "qossmic/deptrac-shim": "^0.24.0", + "oxid-esales/oxideshop-ce": "dev-b-7.1.x", + "qossmic/deptrac-shim": "^1.0.2", "codeception/module-rest": "*", "codeception/module-phpbrowser": "*", "codeception/module-db": "*", diff --git a/tests/PhpMd/exclude-ruleset.xml b/tests/PhpMd/exclude-ruleset.xml new file mode 100644 index 0000000..c6a698d --- /dev/null +++ b/tests/PhpMd/exclude-ruleset.xml @@ -0,0 +1,33 @@ + + + + Exclude Static Access Rule + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/PhpMd/standard.xml b/tests/PhpMd/standard.xml new file mode 100644 index 0000000..d390964 --- /dev/null +++ b/tests/PhpMd/standard.xml @@ -0,0 +1,18 @@ + + + + Standard OXID Ruleset + + + + + + + +