Analyze on every build.
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:
@ -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"
|
||||
tools:
|
||||
image: php
|
||||
commands:
|
||||
- make analyze
|
||||
#
|
8
Makefile
8
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
|
||||
|
Reference in New Issue
Block a user