class RedisConnectionBoundMethodRule implements Rule

Reports connection-bound Redis methods, such as client() or auth(), called through the pooled proxy or the manager.

The proxy runs each command on a pooled connection it releases afterwards, so its __call() rejects methods that act on one connection. Its RedisConnection mixin still documents them, which would let these always-failing calls pass analysis.

Methods

string
getNodeType()

Get the node type the rule checks.

array
processNode(Node $node, Scope $scope)

Report connection-bound method calls that reach the proxy's __call().

Details

at line 48
string getNodeType()

Get the node type the rule checks.

Return Value

string

at line 60
array processNode(Node $node, Scope $scope)

Report connection-bound method calls that reach the proxy's __call().

Parameters

Node $node
Scope $scope

Return Value

array