Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 628 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 628 Bytes

Psalm-Typecov plugin

Experimental Psalm plugin to have type coverage information

Install

composer req --dev bafs/psalm-plugin-typecov

Register the plugin in psalm.xml:

    <plugins>
        <pluginClass class="BafS\PsalmTypecov\TypeCoverage">
            <htmlReport output="typecov-report.html" />
        </pluginClass>
    </plugins>

You can run psalm (typically ./vendor/bin/psalm) and the report will get generated on the fly.

Note: If you have issues with missing files, try using the --no-cache flag.

Screenshoot