]> khamidou — GitHub mirrors - arcanist.git/commit
Simplify handling errors in PHPCS linter
authorvrana <jakubv@fb.com>
Thu, 21 Jun 2012 17:42:17 +0000 (10:42 -0700)
committervrana <jakubv@fb.com>
Fri, 22 Jun 2012 21:32:48 +0000 (14:32 -0700)
commit1708a03f96cdaa60d202a3998ef1e6ed47aff50e
tree56c77b8dab05e046ff2a9e491d036111a62f9f96
parentf93131889410c27f10285da009dd240bf51fc68a
Simplify handling errors in PHPCS linter

Test Plan:
  libxml_use_internal_errors(true);
  $report_dom = new DOMDocument();
  $report_dom->loadXML('<a</a>');
  $report_dom = new DOMDocument();
  $report_dom->loadXML('<a></a>');
  $report_dom = new DOMDocument();
  $report_dom->loadXML('');
  print_r(libxml_get_errors());

Reviewers: aurelijus

Reviewed By: aurelijus

CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D2816
src/lint/linter/ArcanistPhpcsLinter.php