PSR12 code standard.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
16
Makefile
16
Makefile
@ -1,12 +1,14 @@
|
||||
analyze-all:
|
||||
@echo PHPMessDetector
|
||||
analyze: analyze-phpmd analyze-phpstan analyze-psalm analyze-phpcs
|
||||
|
||||
analyze-phpmd:
|
||||
-./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode
|
||||
@echo PHPStan
|
||||
-./vendor/bin/phpstan analyze --level=7 src/ backup
|
||||
@echo Psalm
|
||||
analyze-phpstan:
|
||||
-./vendor/bin/phpstan analyze --level=7 --error-format=raw src/ backup
|
||||
analyze-psalm:
|
||||
-./vendor/bin/psalm
|
||||
@echo PHP_CodeSniffer
|
||||
-./vendor/bin/phpcs src
|
||||
analyze-phpcs:
|
||||
-./vendor/bin/phpcs src backup --report=emacs --standard=PSR12
|
||||
|
||||
install:
|
||||
php composer.phar install --no-dev
|
||||
install-dev:
|
||||
|
Reference in New Issue
Block a user