Since fp4php/functional v6 Psalm integration ships as separate package. Including the Psalm integration in the main fp4php/functional repository was a mistake.
For migration:
- Remove old toolkit:
composer remove fp4php/psalm-toolkit
- Install new psalm plugin:
composer require --dev fp4php/functional-psalm-plugin
- Update psalm.xml:
<?xml version="1.0"?>
<psalm ...>
...
<plugins>
- <pluginClass class="Fp\Psalm\FunctionalPlugin"/>
- <pluginClass class="Fp\PsalmToolkit\Toolkit\Plugin"/>
+ <pluginClass class="Fp\PsalmPlugin\FunctionalPlugin"/>
</plugins>
</psalm>