Skip to content

Commit 7be271d

Browse files
authored
Supports PHPStan 2 (#1006)
* Supports PHPStan 2 Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> --------- Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent d700b56 commit 7be271d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
"mockery/mockery": "^1.5.1",
3333
"nunomaduro/collision": "^6.4.0|^7.5.2|^8.0",
3434
"orchestra/testbench": "^8.21|^9.0|^10.0",
35-
"phpstan/phpstan": "^1.10.15",
35+
"phpstan/phpstan": "^2.1.7",
3636
"phpunit/phpunit": "^10.4|^11.5",
37-
"spiral/roadrunner-http": "^3.3.0",
38-
"spiral/roadrunner-cli": "^2.6.0"
37+
"spiral/roadrunner-cli": "^2.6.0",
38+
"spiral/roadrunner-http": "^3.3.0"
3939
},
4040
"bin": [
4141
"bin/roadrunner-worker",

phpstan.neon.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ parameters:
99
ignoreErrors:
1010
- "#Unsafe usage of new static\\(\\)#"
1111
- "#\\(void\\) is used.#"
12-
- "#Function Swoole\\\\Coroutine\\\\run not found.#"
12+
- "#Instantiated class Swoole\\Coroutine\\WaitGroup not found.#"
13+
14+
reportUnmatchedIgnoredErrors: false

0 commit comments

Comments
 (0)