From 1cefc937832ad1b645540a538abd5e30da2ea89f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr> Date: Thu, 19 Oct 2017 17:34:44 +0200 Subject: [PATCH] CI: utilise php-cs-fixer en mode "CI". --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79ed7aab..5ce20379 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,10 @@ phpcs: script: phpcs --colors --parallel=$(nproc) . allow_failure: true +php-cs-fixer: + <<: *defaults + script: php-cs-fixer fix --dry-run --config=/rules/php-cs-fixer.php + phpcpd: <<: *defaults script: phpcpd --exclude=vendor --fuzzy . -- GitLab