Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/setasign/phpcs-teamcity-report
A phpcs reporter for teamcity using the Inspection service messages
https://github.com/setasign/phpcs-teamcity-report
php php71 php72 phpcs-report teamcity
Last synced: 3 months ago
JSON representation
A phpcs reporter for teamcity using the Inspection service messages
- Host: GitHub
- URL: https://github.com/setasign/phpcs-teamcity-report
- Owner: Setasign
- License: mit
- Created: 2018-10-24T08:01:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T10:11:48.000Z (about 4 years ago)
- Last Synced: 2024-10-12T12:22:17.304Z (3 months ago)
- Topics: php, php71, php72, phpcs-report, teamcity
- Language: PHP
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# phpcs-teamcity-report
A phpcs reporter for teamcity using the [inspection service messages](https://confluence.jetbrains.com/display/TCD18/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ReportingInspections)# Usage
Note that you have to install the report script the same way as PHP_CodeSniffer.
At the moment we only support composer.So use:
```
composer global require "setasign/phpcs-teamcity-report=*"
```Or:
```
{
"require-dev": {
"squizlabs/php_codesniffer": "^3.0",
"setasign/phpcs-teamcity-report": "^1.0"
}
}
```To use the report just add the following parameter to your code sniffer call:
```
--report=\setasign\PhpcsTeamcityReport\TeamcityReport
```# Drawbacks
At the moment all inspections are in the category "CodeSniffer" without a description or a 'readable' name.
Due to a missing easy way to extract these from CodeSniffer.