bafs/psalm-plugin-typecov

Get nice type coverage reports

Installs: 202

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Type:psalm-plugin

v0.1 2024-02-28 20:45 UTC

This package is auto-updated.

Last update: 2024-06-28 21:26:31 UTC


README

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