Skip to content

Commit

Permalink
Turn into PHPStan extension
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Dec 26, 2024
1 parent 33a667a commit ce2c10c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "react-parallel/stubs",
"type": "phpstan-extension",
"description": "\ud83e\udecf Stubs (for PHPstan)",
"license": "MIT",
"authors": [
Expand Down Expand Up @@ -28,6 +29,13 @@
},
"sort-packages": true
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"scripts": {
"post-install-cmd": [
"composer normalize"
Expand Down
5 changes: 5 additions & 0 deletions extension.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
parameters:
stubFiles:
- stubs/Channel.stub
- stubs/Event.stub
- stubs/Future.stub

0 comments on commit ce2c10c

Please sign in to comment.