someniatko / result-type-psalm-plugin
Psalm plugin for someniatko/result-type library
Package info
github.com/someniatko/php-result-type-psalm-plugin
Type:psalm-plugin
pkg:composer/someniatko/result-type-psalm-plugin
1.3.0
2026-02-09 12:48 UTC
Requires
- php: 8.2.* || 8.3.* || 8.4.* || 8.5.*
- vimeo/psalm: ^6 || ^7@beta
Requires (Dev)
- someniatko/result-type: ^1.4
This package is auto-updated.
Last update: 2026-03-09 12:57:29 UTC
README
Provides more precise type support for Result::all() of someniatko/result-type lib.
Supports Psalm 6, 7 and PHP 8.2, 8.3, 8.4, 8.5.
Installation
composer require --dev someniatko/result-type-psalm-plugin
Then add to your psalm.xml:
<psalm> <!-- other stuff --> <plugins> <!-- other plugins --> <pluginClass class="Someniatko\ResultTypePsalmPlugin\Plugin"/> </plugins> </psalm>