class NoAuthHelperInRequestScopeRule implements Rule

Methods

__construct(ReflectionProvider $reflectionProvider)

Create a new rule instance.

string
getNodeType()

Get the node type the rule inspects.

array
processNode(Node $node, Scope $scope)

Report auth() helper user checks made where the request is available.

Details

at line 33
__construct(ReflectionProvider $reflectionProvider)

Create a new rule instance.

Parameters

ReflectionProvider $reflectionProvider

at line 41
string getNodeType()

Get the node type the rule inspects.

Return Value

string

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

Report auth() helper user checks made where the request is available.

Parameters

Node $node
Scope $scope

Return Value

array

Exceptions

ShouldNotHappenException