RestrictedAttributeRule
class RestrictedAttributeRule implements Rule
| internal |
Reports boot-time and test-only markers whose conditions would silently disable or misstate the restriction RestrictedCallRule enforces.
Methods
string
getNodeType()
Get the node type the rule inspects.
array
processNode(Node $node, Scope $scope)
Report the method's malformed lifetime marker.
Details
at line 36
__construct(WorkerStateHelper $helper)
Create a new restricted attribute rule instance.
at line 44
string
getNodeType()
Get the node type the rule inspects.
at line 56
array
processNode(Node $node, Scope $scope)
Report the method's malformed lifetime marker.