diff --git a/.woodpecker.yml b/.woodpecker.yml index 8040052..b7cb781 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -12,11 +12,8 @@ pipeline: commands: - composer install - ./vendor/bin/phpunit tests -# tools: -# image: php -# commands: -# - "./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode" -# - "./vendor/bin/phpstan analyze --level=7 src/ backup" -# - "./vendor/bin/psalm" -# - "./vendor/bin/phpcs src" -# - "exit 0" \ No newline at end of file + tools: + image: php + commands: + - make analyze +# \ No newline at end of file diff --git a/Makefile b/Makefile index b4cecc9..dc7194e 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ analyze: analyze-phpmd analyze-phpstan analyze-psalm analyze-phpcs analyze-phpmd: - -./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode + ./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode analyze-phpstan: - -./vendor/bin/phpstan analyze --level=7 --error-format=raw src/ backup + ./vendor/bin/phpstan analyze --level=7 --error-format=raw src/ backup analyze-psalm: - -./vendor/bin/psalm + ./vendor/bin/psalm analyze-phpcs: - -./vendor/bin/phpcs src backup --report=emacs --standard=PSR12 + ./vendor/bin/phpcs src backup --report=emacs --standard=PSR12 install: php composer.phar install --no-dev