Skip to content

Commit 2ffe0cf

Browse files
committed
feat(PHPMessDetector): add dependency
1 parent 45d2a1d commit 2ffe0cf

2 files changed

Lines changed: 941 additions & 19 deletions

File tree

composer.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,20 @@
4040
"require-dev": {
4141
"php-parallel-lint/php-console-highlighter": "^1.0",
4242
"php-parallel-lint/php-parallel-lint": "^1.3",
43+
"phpmd/phpmd": "^2.15",
4344
"phpstan/phpstan": "^1.10",
4445
"phpunit/phpunit": "^11.0",
4546
"slope-it/clock-mock": "^0.4.0",
4647
"squizlabs/php_codesniffer": "^3.9",
4748
"symfony/var-dumper": "^7.0"
4849
},
4950
"scripts": {
50-
"check-syntax": "vendor/bin/parallel-lint --colors -e php -j 10",
51-
"check-style": "vendor/bin/phpcs -p --colors --standard=phpcs.xml",
52-
"fix-style": "vendor/bin/phpcbf -p --colors --standard=phpcs.xml",
53-
"phpstan": "vendor/bin/phpstan analyse --ansi --memory-limit=1G --no-progress --configuration=phpstan.neon",
54-
"tests": "vendor/bin/phpunit --configuration=phpunit.xml --coverage-text --testdox --colors --order-by=random --random-order-seed=$(head -200 /dev/urandom | cksum | cut -f1 -d \" \")"
51+
"check-syntax": "parallel-lint --colors -e php -j 10 app/ tests/",
52+
"check-style": "phpcs -p --colors --standard=phpcs.xml app/ tests/",
53+
"fix-style": "phpcbf -p --colors --standard=phpcs.xml app/ tests/",
54+
"phpstan": "phpstan analyse --ansi --memory-limit=1G --configuration=phpstan.neon",
55+
"phpmd": "phpmd app/,tests/ ansi cleancode,codesize,controversial,design,naming,unusedcode",
56+
"tests": "phpunit --configuration phpunit.xml --coverage-text --colors --testdox --order-by=random --random-order-seed=$(head -200 /dev/urandom | cksum | cut -f1 -d \" \")"
5557
},
5658
"minimum-stability": "stable",
5759
"prefer-stable": true

0 commit comments

Comments
 (0)