mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-05 03:18:25 +01:00
e00ce65200
Summary: Add a linter which uses [[http://php.net/simplexml | SimpleXML]] to detect errors and potential problems in XML files. Test Plan: Wrote and executed unit tests. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D8989
13 lines
324 B
PHP
13 lines
324 B
PHP
<?php
|
|
|
|
/**
|
|
* Test cases were mostly taken from
|
|
* https://git.gnome.org/browse/libxml2/tree/test.
|
|
*/
|
|
final class ArcanistXMLLinterTestCase extends ArcanistArcanistLinterTestCase {
|
|
public function testLintPath() {
|
|
$this->executeTestsInDirectory(
|
|
dirname(__FILE__).'/xml/',
|
|
new ArcanistXMLLinter());
|
|
}
|
|
}
|