0
0

[TASK] Install Composer for php-codesniffer

This commit is contained in:
Felix Heller 2020-01-06 18:53:10 +01:00
parent 16fd8144ca
commit 7faebcad1b

View File

@ -46,6 +46,10 @@ php-codesniffer:
only:
changes:
- 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:
- rm ./composer.json && rm ./composer.lock
- composer require --dev squizlabs/php_codesniffer