Page MenuHomePhabricator

D9643.id23145.diff
No OneTemporary

D9643.id23145.diff

diff --git a/src/lint/linter/__tests__/ArcanistLinterTestCase.php b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
--- a/src/lint/linter/__tests__/ArcanistLinterTestCase.php
+++ b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
@@ -38,7 +38,11 @@
$basename = basename($file);
- $config = phutil_json_decode($config);
+ if ($config) {
+ $config = phutil_json_decode($config);
+ } else {
+ $config = array();
+ }
PhutilTypeSpec::checkMap(
$config,
array(

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 21, 7:11 PM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6738982
Default Alt Text
D9643.id23145.diff (515 B)

Event Timeline