hectorj / safe-php-psalm-plugin
vimeo/psalm 插件用于 thecodingmachine/safe
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: 2024-09-22 00:51:42 UTC
README
这是一个为 vimeo/psalm 和 thecodingmachine/safe 提供的插件。
它将一些 Psalm 的核心函数存根应用到它们的 safe 版本中。
并非所有 thecodingmachine/safe
的函数都受到支持。如果您有特定的需求,请毫不犹豫地提交问题或 PR。
安装
composer require --dev hectorj/safe-php-psalm-plugin
并将插件添加到您的 psalm.xml
<plugins> <pluginClass class="HectorJ\SafePHPPsalmPlugin\Plugin"/> </plugins>