Skip to content

Commit

Permalink
Scanner V4
Browse files Browse the repository at this point in the history
  • Loading branch information
rogervila authored Sep 19, 2019
1 parent ac35cf0 commit 0f5ff95
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[![Build Status](https://travis-ci.org/rogervila/php-sonarqube-scanner.svg?branch=master)](https://travis-ci.org/rogervila/php-sonarqube-scanner)
[![Build status](https://ci.appveyor.com/api/projects/status/weidwo98jcdrtkxm?svg=true)](https://ci.appveyor.com/project/roger-vila/php-sonarqube-scanner)

> [Test Project](https://github.com/rogervila/php-sonarqube-scanner-test) Badges [![Build Status](https://travis-ci.org/rogervila/php-sonarqube-scanner-test.svg?branch=master)](https://travis-ci.org/rogervila/php-sonarqube-scanner-test)

# Run SonarQube Scanner with composer
Expand Down Expand Up @@ -32,6 +33,8 @@ In some cases, if the package finds missing properties, it will provide them aut
|----|---|---|
| sonar.projectKey | adapted `composer.json` name property | `-Dsonar.projectKey=rogervila_php-sonarqube-scanner`
| sonar.projectName | adapted `composer.json` name property | `-Dsonar.projectName=php-sonarqube-scanner`
| sonar.sources | Base project path | `-Dsonar.sources=<PROJECT PATH>`
| sonar.exclusions | Opininated exclusions based on composer projects usage | `-Dsonar.exclusions="vendor/**, node_modules/**, .scannerwork/**"`

## License

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Scanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Scanner
{
const VERSION = '3.3.0.1492';
const VERSION = '4.0.0.1744';
const FOLDER_PREFIX = 'sonar-scanner';
const ZIP_PREFIX = 'sonar-scanner-cli';
const FILE_SEPARATOR = '-';
Expand Down

0 comments on commit 0f5ff95

Please sign in to comment.