diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eae93687473a03f73fee21507ec32e4395b3a456..acdc3c28300a72a64d6cf6caead103d2dce3bf30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -363,7 +363,16 @@ default: paths: - core/phpstan-baseline.neon - # Add back PHPCS tests after https://drupal.org/i/3411240. +'🧹 PHP Coding standards (PHPCS)': + <<: [ *with-composer, *default-job-settings-lint ] + stage: 🪄 Lint + variables: + KUBERNETES_CPU_REQUEST: "16" + script: + - composer phpcs -- --report-full --report-summary --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-quality-report.json + artifacts: + reports: + codequality: phpcs-quality-report.json '🧹 JavaScript linting (eslint)': <<: [ *with-yarn, *default-job-settings-lint ]