/** * @param array $patterns * @param Report $report */ public function __construct(array $patterns, Report $report) { parent::__construct($patterns, $report); $this->dom = new DOMDocument(); $this->parser = new PhpParser\Parser(new PhpParser\Lexer\Emulative()); $this->serializer = new PhpParser\Serializer\XML(); }
/** * @param array $patterns * @param Report $report */ public function __construct(array $patterns, Report $report) { parent::__construct($patterns, $report); $this->dom = new DOMDocument(); }