Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

m50/psalm-json-to-junit

Repository files navigation

Psalm JSON to JUNIT

Total Downloads Packagist Version Build Status StyleCI GitHub

Converts vimeo/psalm's JSON report to a junit XML report.

Install

Install the package in dev:

composer install --dev m50/psalm-json-to-junit

Usage

First run psalm generating a json report:

vendor/bin/psalm --report="report.json"

Then, you can run the convertor:

vendor/bin/psalm-to-junit convert:json report.json report.xml

That will generate a new report.xml which you can use in your CI report system.

Credits

About

Converts vimeo/psalm's JSON report to a JUNIT report.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages