bafs / psalm-plugin-typecov
Get nice type coverage reports
v1.0.0
2025-02-04 21:41 UTC
Requires
- php: >=8.0
- vimeo/psalm: ^5.0 || ^6.0
Requires (Dev)
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.