SwallowedCancellationRule
class SwallowedCancellationRule implements Rule
| internal |
Reports a catch that swallows the cancellation of an operation in code that runs while handling a request, job or operation, so the canceled work carries on.
Methods
string
getNodeType()
Get the node type the rule inspects.
array
processNode(Node $node, Scope $scope)
Report the collected catches that run in a request, job or operation.
Details
at line 34
__construct(WorkerStateHelper $helper)
Create a new swallowed cancellation rule instance.
at line 42
string
getNodeType()
Get the node type the rule inspects.
at line 55
array
processNode(Node $node, Scope $scope)
Report the collected catches that run in a request, job or operation.