someniatko / php-result-type-psalm-plugin

Psalm plugin for someniatko/result-type PHP library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Someniatko Result Type Psalm Plugin

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

Supports Psalm 5 and PHP 7.4+.

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>

About

Psalm plugin for someniatko/result-type PHP library


Languages

Language:PHP 100.0%