Backport more tools for work flavour

This commit is contained in:
cytopia
2022-12-08 14:05:14 +01:00
parent 2bb64ccff6
commit a7292fdff9
89 changed files with 5061 additions and 419 deletions

View File

@@ -0,0 +1,8 @@
# PHPMD
PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.
| Platform | Url |
|----------|------------------------------------------------------------------|
| GitHub | https://github.com/phpmd/phpmd |
| Website | https://phpmd.org/ |

View File

@@ -0,0 +1,8 @@
---
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

View File

@@ -0,0 +1,11 @@
---
# The name of the module
name: phpmd
# Exclude module build/installation for the following PHP versions
exclude: [5.2]
# In order for this tool to build/install correctly,
# the following tools must have been installed first.
depends: []