diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b44725ad052d3c5e9cbf601d46c3408a1416880..cb6718e1e572440983d9fbcb01f397c06fa235db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,16 @@ include: - project: 'quiqqer/semantic-release' file: '/ci-templates/.gitlab-ci.yml' + +phpcs: + image: composer:2 + stage: test + script: + - composer require --dev micheh/phpcs-gitlab + - vendor/bin/phpcs --report=full --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-quality-report.json + artifacts: + reports: + codequality: phpcs-quality-report.json #stages: # - lint # - release