composer require jbzoo/toolbox-ci
# OR use phar file.
# Replace <VERSION> to the latest version. See releases page or badge above
wget https://github.com/JBZoo/Toolbox-CI/releases/download/<VERSION>/toolbox-ci.phar
$ php ./vendor/bin/toolbox-ci convert --help
Description:
Convert one report format to another
Usage:
convert [options]
Options:
-S, --input-format=INPUT-FORMAT Source format. Available options: checkstyle, github-cli, junit, phpmd-json, phpmnd, psalm-json, tc-inspections, tc-tests
-T, --output-format=OUTPUT-FORMAT Target format. Available options: checkstyle, github-cli, junit, phpmd-json, phpmnd, psalm-json, tc-inspections, tc-tests
-N, --suite-name=SUITE-NAME Set name of root suite
-I, --input-file[=INPUT-FILE] Use CLI input (STDIN, pipeline) OR use the option to define filename of source report
-O, --output-file[=OUTPUT-FILE] Use CLI output (STDOUT, pipeline) OR use the option to define filename with result
-R, --root-path[=ROOT-PATH] If option is set all absolute file paths will be converted to relative
-F, --tc-flow-id[=TC-FLOW-ID] Custom flowId for TeamCity output
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
php ./vendor/bin/toolbox-ci convert:map
Source/Target | CheckStyle.xml | GitHub Actions - CLI | JUnit.xml | PHPmd.json | PHPmnd.xml | Psalm.json | TeamCity - Inspections | TeamCity - Tests |
---|---|---|---|---|---|---|---|---|
CheckStyle.xml | - | Yes | Yes | - | - | - | Yes | Yes |
GitHub Actions - CLI | - | - | - | - | - | - | - | - |
JUnit.xml | - | Yes | Yes | - | - | - | Yes | Yes |
PHPmd.json | - | Yes | Yes | - | - | - | Yes | Yes |
PHPmnd.xml | - | Yes | Yes | - | - | - | Yes | Yes |
Psalm.json | - | Yes | Yes | - | - | - | Yes | Yes |
TeamCity - Inspections | - | - | - | - | - | - | - | - |
TeamCity - Tests | - | - | - | - | - | - | - | - |
make build
make test-all
MIT