|
40 | 40 | "require-dev": { |
41 | 41 | "php-parallel-lint/php-console-highlighter": "^1.0", |
42 | 42 | "php-parallel-lint/php-parallel-lint": "^1.3", |
| 43 | + "phpmd/phpmd": "^2.15", |
43 | 44 | "phpstan/phpstan": "^1.10", |
44 | 45 | "phpunit/phpunit": "^11.0", |
45 | 46 | "slope-it/clock-mock": "^0.4.0", |
46 | 47 | "squizlabs/php_codesniffer": "^3.9", |
47 | 48 | "symfony/var-dumper": "^7.0" |
48 | 49 | }, |
49 | 50 | "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 \" \")" |
55 | 57 | }, |
56 | 58 | "minimum-stability": "stable", |
57 | 59 | "prefer-stable": true |
|
0 commit comments