/** * {@inheritDoc} */ public function enterNode(Node $node) { $this->recordExtendsUsage($node); $this->recordImplementsUsage($node); $this->recordClassExpressionUsage($node); $this->recordCatchUsage($node); $this->recordFunctionCallUsage($node); $this->recordFunctionParameterTypesUsage($node); $this->recordFunctionReturnTypeUsage($node); $this->recordConstantFetchUsage($node); $this->recordTraitUsage($node); return parent::enterNode($node); }
/** * {@inheritDoc} */ public function beforeTraverse(array $nodes) { $this->definedSymbols = []; return parent::beforeTraverse($nodes); }
public function testBeforeTraverse() { $this->assertCount(0, $this->sut->getReport()); }
public function afterTraverse(array $nodes) { parent::afterTraverse($nodes); }