public function __construct() { parent::__construct(); $this->prettyPrinter = new \PHPParser_PrettyPrinter_Zend(); $this->prettyPrinter->setPreserveOriginalNames(true); }
public function setAnalyzer(\Scrutinizer\PhpAnalyzer\Analyzer $analyzer) { parent::setAnalyzer($analyzer); $this->commentParser = new \Scrutinizer\PhpAnalyzer\PhpParser\DocCommentParser($this->registry); }