Add code style enforcement and GitHub Actions workflow for tests (#3)
* Add PHP_CodeSniffer and fix code style * Add test pipeline and SonarQube analysis * Fix job name of workflow
This commit is contained in:
18
sonar-project.properties
Normal file
18
sonar-project.properties
Normal file
@ -0,0 +1,18 @@
|
||||
sonar.organization=php-mqtt
|
||||
sonar.projectKey=php-mqtt_laravel-client
|
||||
|
||||
# Paths are relative to the sonar-project.properties file.
|
||||
sonar.sources=src
|
||||
#sonar.tests=tests
|
||||
|
||||
# Test report and code coverage related settings.
|
||||
#sonar.php.tests.reportPath=phpunit.report-junit.xml
|
||||
#sonar.php.coverage.reportPaths=phpunit.coverage-clover.xml
|
||||
|
||||
# Encoding of the source code. Default is default system encoding.
|
||||
sonar.sourceEncoding=UTF-8
|
||||
|
||||
# Links for sonarcloud.io page.
|
||||
sonar.links.ci=https://github.com/php-mqtt/laravel-client/actions
|
||||
sonar.links.scm=https://github.com/php-mqtt/laravel-client
|
||||
sonar.links.issue=https://github.com/php-mqtt/laravel-client/issues
|
Reference in New Issue
Block a user