Skip to content
Snippets Groups Projects
Commit 68f38e40 authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

Address @epristley's comments

parent c4d05a97
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ final class ArcanistExternalJsonLinter extends ArcanistLinter {
return;
}
$messages = json_decode($output, true);
$messages = phutil_json_decode($output, true);
foreach ($messages as $message) {
if (!empty($message['throw'])) {
......@@ -257,7 +257,7 @@ final class ArcanistExternalJsonLinter extends ArcanistLinter {
);
if (idx($message, 'severity')) {
$severity_name = strtolower(idx($message, 'severity'));
$severity_name = phutil_utf8_strtolower(idx($message, 'severity'));
if (!idx($map, $severity_name)) {
throw new ArcanistUsageException(
pht('%s: Unknown severity %s', __CLASS__, $severity_name));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment