From e3a1863d77ca44ee39eaa6a861305660623c1078 Mon Sep 17 00:00:00 2001
From: Jan Wennrich <jan.wennrich@pcsg.de>
Date: Mon, 24 Apr 2023 15:45:23 +0200
Subject: [PATCH] ci: remove codestyle_check job

The job was moved to the quiqqer/semantic-release/.gitlab-ci.yml
---
 .gitlab-ci.yml | 33 ---------------------------------
 1 file changed, 33 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 71addfd..ae0c72e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,36 +1,3 @@
 include:
   - project: 'quiqqer/semantic-release'
     file: '/ci-templates/.gitlab-ci.yml'
-
-codestyle_check:
-  image: composer:2
-  stage: test
-  script:
-  - composer global require squizlabs/php_codesniffer=^3 micheh/phpcs-gitlab=^1
-  - /tmp/vendor/bin/phpcs -v -s -n -p --standard=PSR1,PSR2,PSR12 --no-cache --colors --report=full --report-/tmp/vendor/micheh/phpcs-gitlab/src/Report/Gitlab.php=phpcs-quality-report.json --basepath=$CI_PROJECT_DIR $CI_PROJECT_DIR
-  artifacts:
-    reports:
-      codequality: phpcs-quality-report.json
-  rules:
-    - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_PROTECTED
-    - if: $CI_COMMIT_BRANCH
-  allow_failure: true
-
-#stages:
-#    - lint
-#  - release
-##validate_merge_request_source_branch:
-##  stage: validate
-##  script:
-##    - echo "Job runs to validate merge request source branch"
-##    - echo "Testing failed validation"
-##    - exit 1
-##  rules:
-##    - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && #$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"
-##    - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && #$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"
-##    - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && #$CI_MERGE_REQUEST_TARGET_BRANCH_NAME =~ /^(\d\.)?\d.x$/
-#lint:commit:
-#  stage: lint
-#  image: node:18-slim
-#  script:
-#    - echo "${CI_COMMIT_MESSAGE}" | npx commitlint
-- 
GitLab