Add phpmd binary

This commit is contained in:
cytopia
2020-01-04 18:17:09 +01:00
parent f8f485b0bb
commit 90495fab70
12 changed files with 83 additions and 0 deletions

View File

@@ -102,6 +102,7 @@ software_enabled:
- phpcs
- phpcbf
- php-cs-fixer
- phpmd
- phpunit
- symfony
- wkhtmltopdf
@@ -731,6 +732,14 @@ software_available:
command: |
curl -sS -L https://cs.symfony.com/download/php-cs-fixer-v2.phar > /usr/local/bin/php-cs-fixer 2>/dev/null \
&& chmod +x /usr/local/bin/php-cs-fixer \
phpmd:
disabled: [5.2]
check: phpmd --version | grep -E '^PHPMD [.0-9]+'
all:
command: |
wget -c https://phpmd.org/static/latest/phpmd.phar \
&& mv phpmd.phar /usr/local/bin/phpmd \
&& chmod +x /usr/local/bin/phpmd
phpunit:
disabled: [5.2, 8.0]
check: phpunit --version | grep -iE '^PHPUnit\s[.0-9]+'