forked from smartbooster/sonata-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (20 loc) · 614 Bytes
/
Makefile
File metadata and controls
29 lines (20 loc) · 614 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# ====================
# Qualimetry rules
qa: qualimetry
qualimetry: checkstyle lint.php composer.validate metrics phpstan
cs: checkstyle
checkstyle:
vendor/bin/phpcs --extensions=php -n --standard=PSR12 --report=full src
lint.php:
find src -type f -name "*.php" -exec php -l {} \;
composer.validate:
composer validate composer.json
cb: code-beautifier
code-beautifier:
vendor/bin/phpcbf --extensions=php --standard=PSR12 src
cpd:
vendor/bin/phpcpd --fuzzy src
metrics:
vendor/bin/phpmetrics --report-html=build/phpmetrics.html src
phpstan:
vendor/bin/phpstan analyse src --level=6 -c phpstan.neon