mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-24 01:41:15 +00:00
Add phpmd binary
This commit is contained in:
@@ -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]+'
|
||||
|
||||
Reference in New Issue
Block a user