Skip to content

Files

Latest commit

8f84cd3 · Jun 8, 2018

History

History
23 lines (16 loc) · 506 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 506 Bytes

PHPStan JUnit error reporter

Generate error reporter used to create JUnit output

Include as dependency by:

composer require --dev mavimo/phpstan-junit

And enable on your phpstan.neon config file by including

services:
    errorFormatter.junit:
        class: Mavimo\PHPStan\ErrorFormatter\JunitErrorFormatter

than execute it by running:

vendor/bin/phpstan --configuration=phpstan.neon --errorFormat=junit --level=7 --no-progress --no-interaction analyse SOURCE_CODE_DIR