Static code analysis.

This commit is contained in:
2023-05-31 09:00:20 +00:00
parent 4c8f71d9d8
commit 19f27e6d0c
10 changed files with 1798 additions and 43 deletions

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
analyze-all:
@echo PHPMessDetector
-./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode
@echo PHPStan
-./vendor/bin/phpstan analyze --level=7 src/ backup
@echo Psalm
-./vendor/bin/psalm
install:
php composer.phar install --no-dev
install-dev:
php composer.phar install