mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
commit
ee41458c68
13
.github/workflows/sonarcube.yaml
vendored
Normal file
13
.github/workflows/sonarcube.yaml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
name: SonarCube
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
sonnar_cloud:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: sonarsource/sonarcloud-github-action@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
10
sonar-project.properties
Normal file
10
sonar-project.properties
Normal file
@ -0,0 +1,10 @@
|
||||
# see https://sonarcloud.io/documentation/project-administration/narrowing-the-focus/
|
||||
sonar.organization=rectorphp
|
||||
sonar.projectKey=rectorphp_rector
|
||||
|
||||
# relative paths to source
|
||||
sonar.sources=compiler,packages,src
|
||||
sonar.tests=tests
|
||||
|
||||
# see https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/#NarrowingtheFocus-patterns
|
||||
sonar.exclusions=**/**/*.php.inc
|
Loading…
x
Reference in New Issue
Block a user