Page MenuHomePhabricator

D11085.id.diff
No OneTemporary

D11085.id.diff

diff --git a/.arcconfig b/.arcconfig
--- a/.arcconfig
+++ b/.arcconfig
@@ -1,5 +1,5 @@
{
- "project.name" : "libphutil",
- "phabricator.uri" : "https://secure.phabricator.com/",
- "unit.engine" : "PhutilUnitTestEngine"
+ "project.name": "libphutil",
+ "phabricator.uri": "https://secure.phabricator.com/",
+ "unit.engine": "PhutilUnitTestEngine"
}
diff --git a/src/parser/PhutilJSON.php b/src/parser/PhutilJSON.php
--- a/src/parser/PhutilJSON.php
+++ b/src/parser/PhutilJSON.php
@@ -53,7 +53,7 @@
}
$key_lines = array();
foreach ($keys as $k => $key) {
- $key_lines[] = $key_pre.str_pad($key, $max).' : '.$vals[$k];
+ $key_lines[] = $key_pre.str_pad($key, $max).': '.$vals[$k];
}
$key_lines = implode(",\n", $key_lines);
diff --git a/src/parser/__tests__/PhutilJSONTestCase.php b/src/parser/__tests__/PhutilJSONTestCase.php
--- a/src/parser/__tests__/PhutilJSONTestCase.php
+++ b/src/parser/__tests__/PhutilJSONTestCase.php
@@ -7,7 +7,7 @@
$expect = <<<EOJSON
{
- "x" : []
+ "x": []
}
EOJSON;

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 11:49 PM (3 h, 56 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718619
Default Alt Text
D11085.id.diff (1 KB)

Event Timeline