bafs/psalm-plugin-typecov

Get nice type coverage reports

Installs: 289

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 1

Type:psalm-plugin

v1.0.0 2025-02-04 21:41 UTC

This package is auto-updated.

Last update: 2025-02-14 17:28:16 UTC


README

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 want to always scan all the files, you need to use the --no-cache flag.

Screenshoot