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:
|
commands:
|
||||||
- composer install
|
- composer install
|
||||||
- ./vendor/bin/phpunit tests
|
- ./vendor/bin/phpunit tests
|
||||||
# tools:
|
tools:
|
||||||
# image: php
|
image: php
|
||||||
# commands:
|
commands:
|
||||||
# - "./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode"
|
- make analyze
|
||||||
# - "./vendor/bin/phpstan analyze --level=7 src/ backup"
|
#
|
||||||
# - "./vendor/bin/psalm"
|
|
||||||
# - "./vendor/bin/phpcs src"
|
|
||||||
# - "exit 0"
|
|
8
Makefile
8
Makefile
@ -1,13 +1,13 @@
|
|||||||
analyze: analyze-phpmd analyze-phpstan analyze-psalm analyze-phpcs
|
analyze: analyze-phpmd analyze-phpstan analyze-psalm analyze-phpcs
|
||||||
|
|
||||||
analyze-phpmd:
|
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:
|
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:
|
analyze-psalm:
|
||||||
-./vendor/bin/psalm
|
./vendor/bin/psalm
|
||||||
analyze-phpcs:
|
analyze-phpcs:
|
||||||
-./vendor/bin/phpcs src backup --report=emacs --standard=PSR12
|
./vendor/bin/phpcs src backup --report=emacs --standard=PSR12
|
||||||
|
|
||||||
install:
|
install:
|
||||||
php composer.phar install --no-dev
|
php composer.phar install --no-dev
|
||||||
|
Reference in New Issue
Block a user