PHP Class DuplicateArrayKeyPlugin

See also: DollarDollarPlugin for generic plugin documentation.
Inheritance: extends Phan\Plugin\PluginImplementation
Show file Open project: etsy/phan

Public Methods

Method Description
analyzeNode ( CodeBase $code_base, Context $context, ast\Node $node, ast\Node $parent_node = null ) : void

Method Details

analyzeNode() public method

public analyzeNode ( CodeBase $code_base, Context $context, ast\Node $node, ast\Node $parent_node = null ) : void
$code_base Phan\CodeBase The code base in which the node exists
$context Phan\Language\Context The context in which the node exits. This is the context inside the given node rather than the context outside of the given node
$node ast\Node The php-ast Node being analyzed.
$parent_node ast\Node
return void