mirror of
https://github.com/friendica/friendica
synced 2025-02-22 17:18:14 +00:00
run phpmd before php-cs-fixer
This commit is contained in:
parent
f3aa937ce2
commit
6aadb63b82
1 changed files with 4 additions and 4 deletions
|
@ -36,6 +36,10 @@ steps:
|
||||||
- '.composer'
|
- '.composer'
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/drone-cache:/tmp/cache
|
- /tmp/drone-cache:/tmp/cache
|
||||||
|
phpmd:
|
||||||
|
image: php:8.3
|
||||||
|
commands:
|
||||||
|
- ./bin/composer.phar run phpmd
|
||||||
code_style:
|
code_style:
|
||||||
image: php:8.3
|
image: php:8.3
|
||||||
commands:
|
commands:
|
||||||
|
@ -54,7 +58,3 @@ steps:
|
||||||
EXTRA_ARGS='';
|
EXTRA_ARGS='';
|
||||||
fi
|
fi
|
||||||
- ./bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php -v --diff --using-cache=no $${EXTRA_ARGS}
|
- ./bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php -v --diff --using-cache=no $${EXTRA_ARGS}
|
||||||
phpmd:
|
|
||||||
image: php:8.3
|
|
||||||
commands:
|
|
||||||
- ./bin/composer.phar run phpmd
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue