Skip to content

Commit b2a700b

Browse files
committed
Add PHPStan rule for Swoole\Http\Status constant access in WebSocketClient
1 parent 320a296 commit b2a700b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ parameters:
2525
- tests/*
2626
- src/Message/*
2727
- src/Property/PacketMap.php
28+
-
29+
message: '#Access to constant \S+ on an unknown class Swoole\Http\Status.#'
30+
paths:
31+
- src/WebSocketClient.php

0 commit comments

Comments
 (0)