Skip to content

Commit 3848708

Browse files
committed
Update PHPStan config
1 parent a256c20 commit 3848708

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

phpstan.neon

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ parameters:
3535
path: %currentWorkingDirectory%/src/Topic/TopicManager.php
3636

3737
# Dynamic properties added throughout Ratchet
38-
- '/Access to an undefined property PHPUnit\\Framework\\MockObject\\MockObject::\$(resourceId|PeriodicTimer|Session|Wamp)\./'
39-
- '/Access to an undefined property PHPUnit\\Framework\\MockObject\\MockObject|Ratchet\\ConnectionInterface::\$(resourceId|PeriodicTimer|Session|WAMP)\./'
40-
- '/Access to an undefined property PHPUnit\\Framework\\MockObject\\MockObject&Ratchet\\ConnectionInterface::\$(resourceId|PeriodicTimer|Session|WAMP)\./'
41-
- '/Access to an undefined property Ratchet\\ConnectionInterface::\$(resourceId|PeriodicTimer|Session|Wamp)\./'
38+
- '/Access to an undefined property PHPUnit\\Framework\\MockObject\\MockObject::\$(resourceId|PeriodicTimer|Session|WAMP|remoteAddress)\./'
39+
- '/Access to an undefined property PHPUnit\\Framework\\MockObject\\MockObject|Ratchet\\ConnectionInterface::\$(resourceId|PeriodicTimer|Session|WAMP|remoteAddress)\./'
40+
- '/Access to an undefined property PHPUnit\\Framework\\MockObject\\MockObject&Ratchet\\ConnectionInterface::\$(resourceId|PeriodicTimer|Session|WAMP|remoteAddress)\./'
41+
- '/Access to an undefined property Ratchet\\ConnectionInterface::\$(resourceId|PeriodicTimer|Session|WAMP|remoteAddress)\./'
4242

4343
# Extra arguments added to Ratchet interface implementations
4444
- '/Method Ratchet\\ComponentInterface::onOpen\(\) invoked with 2 parameters, 1 required\./'
@@ -56,6 +56,10 @@ parameters:
5656
path: %currentWorkingDirectory%/src/Topic/TopicManager.php
5757

5858
# Method has mixed return
59+
-
60+
message: '/Method Gos\\Bundle\\WebSocketBundle\\Server\\App\\Stack\\BlockedIpCheck::onOpen\(\) has no return typehint specified\./'
61+
path: %currentWorkingDirectory%/src/Server/App/Stack/BlockedIpCheck.php
62+
5963
-
6064
message: '/Method Gos\\Bundle\\WebSocketBundle\\Server\\App\\Stack\\OriginCheck::onOpen\(\) has no return typehint specified\./'
6165
path: %currentWorkingDirectory%/src/Server/App/Stack/OriginCheck.php

0 commit comments

Comments
 (0)