someniatko/result-type-psalm-plugin

Psalm plugin for someniatko/result-type library

Installs: 761

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:psalm-plugin

pkg:composer/someniatko/result-type-psalm-plugin

1.2.0 2025-03-31 12:43 UTC

This package is auto-updated.

Last update: 2025-10-01 00:10:11 UTC


README

Provides more precise type support for Result::all() of someniatko/result-type lib.

Supports Psalm 5, 6 and PHP 8.2+.

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>