Ajout d'une étape de linting dans DroneCi #3

Merged
Nigel merged 3 commits from php-lint into master 2020-11-21 18:54:38 +00:00
Showing only changes of commit e7bf1ca1e8 - Show all commits

View File

@ -8,6 +8,12 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: lint
image: php:7.2-alpine
commands:
- curl -L https://cs.symfony.com/download/php-cs-fixer-v2.phar -o php-cs-fixer.phar
- php php-cs-fixer.phar fix htdocs --dry-run --using-cache=no --verbose --stop-on-violation
- php php-cs-fixer.phar fix onyx2 --dry-run --using-cache=no --verbose --stop-on-violation
- name: publish - name: publish
image: plugins/docker image: plugins/docker
settings: settings: