hectorj / safe-php-psalm-plugin
vimeo/psalm plugin for thecodingmachine/safe
Package info
github.com/hectorj/safe-php-psalm-plugin
Type:psalm-plugin
pkg:composer/hectorj/safe-php-psalm-plugin
v1.4.0
2022-05-21 19:45 UTC
Requires
- php: ^7.4 || ^8.0
- ext-simplexml: *
- thecodingmachine/safe: ^1.1|^2.1
- vimeo/psalm: ^4.0
Requires (Dev)
- ext-json: *
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2026-03-22 04:14:36 UTC
README
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.
Installation
composer require --dev hectorj/safe-php-psalm-plugin
And add the plugin to your psalm.xml:
<plugins> <pluginClass class="HectorJ\SafePHPPsalmPlugin\Plugin"/> </plugins>