Skip to content

Commit

Permalink
Supports PHPStan 2 (#1006)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
crynobone authored Mar 6, 2025
1 parent d700b56 commit 7be271d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"mockery/mockery": "^1.5.1",
"nunomaduro/collision": "^6.4.0|^7.5.2|^8.0",
"orchestra/testbench": "^8.21|^9.0|^10.0",
"phpstan/phpstan": "^1.10.15",
"phpstan/phpstan": "^2.1.7",
"phpunit/phpunit": "^10.4|^11.5",
"spiral/roadrunner-http": "^3.3.0",
"spiral/roadrunner-cli": "^2.6.0"
"spiral/roadrunner-cli": "^2.6.0",
"spiral/roadrunner-http": "^3.3.0"
},
"bin": [
"bin/roadrunner-worker",
Expand Down
4 changes: 3 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ parameters:
ignoreErrors:
- "#Unsafe usage of new static\\(\\)#"
- "#\\(void\\) is used.#"
- "#Function Swoole\\\\Coroutine\\\\run not found.#"
- "#Instantiated class Swoole\\Coroutine\\WaitGroup not found.#"

reportUnmatchedIgnoredErrors: false

0 comments on commit 7be271d

Please sign in to comment.