Skip to content

BafS/psalm-typecov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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