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, May 12, 5:53 PM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6291608
Default Alt Text
D11085.diff (1 KB)

Event Timeline