Page MenuHomePhabricator

D11085.diff
No OneTemporary

D11085.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
Sun, Oct 20, 10:17 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718619
Default Alt Text
D11085.diff (1 KB)

Event Timeline