mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2026-01-09 17:41:14 +00:00
Backport more tools for work flavour
This commit is contained in:
17
php_tools/phpcbf/install.yml
Normal file
17
php_tools/phpcbf/install.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
|
||||
check: phpcbf --version | grep -E 'version [0-9][.0-9]+' || (phpcbf --version; false)
|
||||
|
||||
all:
|
||||
type: custom
|
||||
command: curl -sS -k -L --fail -L "${PHPCBF_URL}" -o /usr/local/bin/phpcbf
|
||||
pre: PHPCBF_URL="https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar"
|
||||
post: chmod +x /usr/local/bin/phpcbf
|
||||
|
||||
5.3:
|
||||
type: custom
|
||||
pre: PHPCBF_URL="https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcbf.phar"
|
||||
|
||||
5.2:
|
||||
type: custom
|
||||
pre: PHPCBF_URL="https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcbf.phar"
|
||||
Reference in New Issue
Block a user