class UndefinedArgumentOrOptionRule implements Rule

Methods

__construct(ConsoleApplicationResolver $consoleApplicationResolver)

Create a new rule instance.

string
getNodeType()

Get the node type the rule inspects.

array
processNode(Node $node, Scope $scope)

Report arguments and options that the command does not define.

Details

at line 32
__construct(ConsoleApplicationResolver $consoleApplicationResolver)

Create a new rule instance.

Parameters

ConsoleApplicationResolver $consoleApplicationResolver

at line 39
string getNodeType()

Get the node type the rule inspects.

Return Value

string

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

Report arguments and options that the command does not define.

Parameters

Node $node
Scope $scope

Return Value

array errors