Files
docker-php-fpm/php_tools/phpmd/install.yml
2022-12-08 20:52:37 +01:00

9 lines
250 B
YAML

---
check: phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' || (phpmd --version; false)
all:
type: custom
command: curl -sS -k -L --fail https://phpmd.org/static/latest/phpmd.phar -L -o /usr/local/bin/phpmd
post: chmod +x /usr/local/bin/phpmd