From e1d8caf213bdff7884cd193e1daf7034d9049fa0 Mon Sep 17 00:00:00 2001 From: Vincent BRIDIER Date: Tue, 18 Apr 2023 09:04:01 +0000 Subject: [PATCH] add no-scripts lint phpcs --- lint/phpcs.yml | 2 +- lint/phpcs7.3.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lint/phpcs.yml b/lint/phpcs.yml index 64fc5c0..93a833d 100644 --- a/lint/phpcs.yml +++ b/lint/phpcs.yml @@ -3,7 +3,7 @@ phpcs: image: $CI_REGISTRY/ldc-web/projets/ldc-web-images-docker/ldcweb-qa:php8.1-1.0 before_script: - composer config gitlab-token.lab.s-web.fr $CI_DEPLOY_USER $CI_DEPLOY_PASSWORD - - composer install + - composer install --no-scripts script: - vendor/bin/phpcs --report=junit --report-file=phpcs-report.xml artifacts: diff --git a/lint/phpcs7.3.yml b/lint/phpcs7.3.yml index 9e6b267..df647e8 100644 --- a/lint/phpcs7.3.yml +++ b/lint/phpcs7.3.yml @@ -3,7 +3,7 @@ phpcs: image: $CI_REGISTRY/ldc-web/projets/ldc-web-images-docker/ldcweb-qa:php7.3-1.0 before_script: - composer config gitlab-token.lab.s-web.fr $CI_DEPLOY_USER $CI_DEPLOY_PASSWORD - - composer install + - composer install --no-scripts script: - vendor/bin/phpcs --report=junit --report-file=phpcs-report.xml artifacts: