Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14035175
D9643.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
515 B
Referenced Files
None
Subscribers
None
D9643.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 11, 4:38 AM (3 d, 18 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6738982
Default Alt Text
D9643.diff (515 B)
Attached To
Mode
D9643: Don't throw an exception if no configuration is set for linter tests
Attached
Detach File
Event Timeline
Log In to Comment