PHPackages                             klimick/psalm-test - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. klimick/psalm-test

Abandoned → [fp4php/psalm-toolkit](/?search=fp4php%2Fpsalm-toolkit)Library[Testing &amp; Quality](/categories/testing)

klimick/psalm-test
==================

Testing tool for psalm plugins

v1.2.3(4y ago)4176MITPHPPHP ^8.0

Since Nov 22Pushed 3y ago2 watchersCompare

[ Source](https://github.com/klimick/psalm-test)[ Packagist](https://packagist.org/packages/klimick/psalm-test)[ RSS](/packages/klimick-psalm-test/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (10)Dependencies (2)Versions (8)Used By (0)

Psalm toolkit
-------------

[](#psalm-toolkit)

Helpers for plugin authoring and static testing tool.

### Installation

[](#installation)

Package `fp4php/functional` must be installed manually.

```
$ composer require --dev fp4php/functional fp4php/psalm-toolkit
$ vendor/bin/psalm-plugin enable fp4php/psalm-toolkit
```

### Usage

[](#usage)

At the moment you can use two methods for static asserts:

- `seePsalmIssue`: Checks that a code block from the `haveCode` have specific issue.
- `seeReturnType`: Verifies a return type from the `haveCode` block.

Usage example below:

```
