forked from smartbooster/authentication-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (24 loc) · 714 Bytes
/
Makefile
File metadata and controls
35 lines (24 loc) · 714 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
30
31
32
33
34
35
# ====================
# Qualimetry rules
qa: qualimetry
qualimetry: checkstyle lint.php composer.validate phpstan metrics
cs: checkstyle
checkstyle:
vendor/bin/phpcs --extensions=php -n --standard=PSR12 --report=full src tests
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 tests
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
#================================
# TEST
phpunit:
vendor/bin/phpunit tests