[TASK] Install Composer for php-codesniffer
This commit is contained in:
parent
16fd8144ca
commit
7faebcad1b
@ -46,6 +46,10 @@ php-codesniffer:
|
|||||||
only:
|
only:
|
||||||
changes:
|
changes:
|
||||||
- packages/**/*.php
|
- packages/**/*.php
|
||||||
|
before_script:
|
||||||
|
- apt -y update > /dev/null
|
||||||
|
- apt -y install zip > /dev/null
|
||||||
|
- curl -sS https://getcomposer.org/installer | php && mv ./composer.phar /usr/local/bin/composer
|
||||||
script:
|
script:
|
||||||
- rm ./composer.json && rm ./composer.lock
|
- rm ./composer.json && rm ./composer.lock
|
||||||
- composer require --dev squizlabs/php_codesniffer
|
- composer require --dev squizlabs/php_codesniffer
|
||||||
|
Loading…
Reference in New Issue
Block a user