Skip to content

Commit

Permalink
Add extra.psalm.pluginClass
Browse files Browse the repository at this point in the history
  • Loading branch information
klimick committed Jun 2, 2022
1 parent cc0701d commit 5241648
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $ composer require fp4php/functional
To improve type inference

```console
$ vendor/bin/psalm-plugin enable Fp\\Psalm\\FunctionalPlugin
$ vendor/bin/psalm-plugin enable fp4php/functional
```

## Overview
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"scripts": {
"test": "vendor/bin/phpunit"
},
"extra": {
"psalm": {
"pluginClass": "Fp\\Psalm\\FunctionalPlugin"
}
},
"require": {
"php": "^8.0",
"ext-simplexml": "*"
Expand Down

0 comments on commit 5241648

Please sign in to comment.