This is a vimeo/psalm plugin for thecodingmachine/safe.
It applies some Psalm's core functions stubs to their safe versions.
Not all functions thecodingmachine/safe
are supported yet. If you have a specific need, don't hesitate to open an issue or a PR.
composer require --dev hectorj/safe-php-psalm-plugin
And add the plugin to your psalm.xml
:
<plugins>
<pluginClass class="HectorJ\SafePHPPsalmPlugin\Plugin"/>
</plugins>