예제 #1
0
 /**
  * @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();
 }
예제 #2
0
 /**
  * @param array $patterns
  * @param Report $report
  */
 public function __construct(array $patterns, Report $report)
 {
     parent::__construct($patterns, $report);
     $this->dom = new DOMDocument();
 }