Ejemplo n.º 1
0
 /**
  * @param \PhpParser\Error $e
  * @param $filepath
  * @return bool
  */
 public function sytaxError(\PhpParser\Error $e, $filepath)
 {
     $code = file($e->getFile());
     $this->output->writeln('<error>Syntax error:  ' . $e->getMessage() . " in {$filepath} </error>");
     $this->output->writeln('');
     return true;
 }