Skip to content

Commit

Permalink
Introduce wyrihaximus/phpstan-react
Browse files Browse the repository at this point in the history
This will help users of this package find event loop blocking function calls in their code
  • Loading branch information
WyriHaximus committed Feb 29, 2024
1 parent 980c400 commit b502451
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 1 deletion.
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"react/async": "^4.2.0",
"react/event-loop": "^1.5.0",
"react/promise": "^3.1",
"wyrihaximus/phpstan-react": "^1",
"wyrihaximus/test-utilities": "^5.5.4 || ^6"
},
"require-dev": {
Expand Down Expand Up @@ -49,6 +50,11 @@
},
"sort-packages": true
},
"extra": {
"unused": [
"wyrihaximus/phpstan-react"
]
},
"scripts": {
"post-install-cmd": [
"composer normalize",
Expand Down
47 changes: 46 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions etc/qa/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ parameters:

includes:
- ../../vendor/wyrihaximus/test-utilities/rules.neon
- ../../vendor/wyrihaximus/phpstan-react/phpstan-reactphp-rules.neon
1 change: 1 addition & 0 deletions rules.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ parameters:

includes:
- ../test-utilities/rules.neon
- ../phpstan-react/phpstan-reactphp-rules.neon

0 comments on commit b502451

Please sign in to comment.