Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15279750
D9641.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
542 B
Referenced Files
None
Subscribers
None
D9641.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
@@ -39,11 +39,6 @@
$basename = basename($file);
$config = phutil_json_decode($config);
- if (!is_array($config)) {
- throw new Exception(
- "Invalid configuration in test '{$basename}', not valid JSON.");
- }
-
PhutilTypeSpec::checkMap(
$config,
array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 4, 6:40 AM (9 h, 4 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7220907
Default Alt Text
D9641.diff (542 B)
Attached To
Mode
D9641: Update callsites of `phutil_json_decode`.
Attached
Detach File
Event Timeline
Log In to Comment