UnusedViewsRule
class UnusedViewsRule implements Rule
Methods
__construct(UsedViewInAnotherViewCollector $usedViewInAnotherViewCollector, ViewFileHelper $viewFileHelper)
Create a new rule instance.
string
getNodeType()
Get the node type the rule inspects.
array
processNode(Node $node, Scope $scope)
Report views without a statically discovered usage.
Details
at line 43
__construct(UsedViewInAnotherViewCollector $usedViewInAnotherViewCollector, ViewFileHelper $viewFileHelper)
Create a new rule instance.
at line 50
string
getNodeType()
Get the node type the rule inspects.
at line 61
array
processNode(Node $node, Scope $scope)
Report views without a statically discovered usage.