/psalm-typecov

Type coverage report for psalm

Primary LanguagePHPMIT LicenseMIT

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