hectorj / safe-php-psalm-plugin
vimeo/psalm plugin for thecodingmachine/safe
Installs: 95 046
Dependents: 1
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 4
Open Issues: 1
Type:psalm-plugin
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: 2024-12-22 01:22:03 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>