roave/psalm-html-output

Psalm HTML Output

Installs: 1 437

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 1

Forks: 1

Open Issues: 5

Language:XSLT

0.0.2 2019-07-15 16:29 UTC

This package is auto-updated.

Last update: 2020-05-24 10:39:36 UTC


README

Takes the XML output from Psalm and renders it as HTML.

CircleCI

Installation

First, install xsltproc on your machine (for example, apt install xsltproc).

Then composer require --dev roave/psalm-html-output

Usage

vendor/bin/psalm --output-format=xml | xsltproc vendor/roave/psalm-html-output/psalm-html-output.xsl - > psalm-report.html

Run with Docker

To avoid having to install xsltproc if you already have Docker, first build the image with:

docker build . -t psalm-html-output:latest

Then to generate the HTML:

vendor/bin/psalm --output-format=xml | docker run --rm -i psalm-html-output:latest > psalm-report.html