add no-scripts lint phpcs

This commit is contained in:
Vincent BRIDIER 2023-04-18 09:04:01 +00:00
parent dbb847acd2
commit e1d8caf213
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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: