1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-21 22:32:41 +01:00

Enable PhutilModuleLinter to recover more gracefully from broken modules.

Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley 2011-01-17 20:18:42 -08:00
parent 4818892841
commit 746768e779

View file

@ -249,6 +249,8 @@ class ArcanistPhutilModuleLinter extends ArcanistLinter {
$loaded = true;
} catch (PhutilMissingSymbolException $ex) {
$loaded = false;
} catch (PhutilBootloaderException $ex) {
$loaded = false;
}
if ($loaded) {
$resolvable[] = $message;
@ -290,6 +292,8 @@ class ArcanistPhutilModuleLinter extends ArcanistLinter {
$loaded = true;
} catch (PhutilMissingSymbolException $ex) {
$loaded = false;
} catch (PhutilBootloaderException $ex) {
$loaded = false;
}
if ($loaded) {
$resolvable[] = $message;