diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml deleted file mode 100644 index 590c4a8b..00000000 --- a/.github/workflows/sonar.yaml +++ /dev/null @@ -1,22 +0,0 @@ -name: Build -on: - push: - branches: - - 1.x - pull_request_target: - types: [opened, synchronize, reopened] -jobs: - sonarcloud: - name: SonarCloud - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - ref: ${{ github.event.pull_request.head.ref }} - repository: ${{ github.event.pull_request.head.repo.full_name }} - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 69b47673..00000000 --- a/sonar-project.properties +++ /dev/null @@ -1,16 +0,0 @@ -sonar.projectKey=pimcore_generic-data-index-bundle -sonar.organization=pimcore - -# This is the name and version displayed in the SonarCloud UI. -#sonar.projectName=generic-data-index-bundle -#sonar.projectVersion=1.0 - - -# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. -#sonar.sources=. - -# ToDo: Remove **/src/autoload.php in version 2.0 -sonar.exclusions=**/vendor/**,**/doc/**,**/tests/**,**/config/**,**/.docker/**,**/src/autoload.php - -# Encoding of the source code. Default is default system encoding -#sonar.sourceEncoding=UTF-8 \ No newline at end of file