]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix an odd looking array
authorJoshua Spence <josh@joshuaspence.com>
Sun, 5 Apr 2015 12:27:52 +0000 (22:27 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 5 Apr 2015 12:27:52 +0000 (22:27 +1000)
Summary: This array looks a little odd, most likely due to the autofix applied by `ArcanistXHPASTLinter::LINT_ARRAY_SEPARATOR`. See D12296 in which I attempt to improve the autocorrection from this linter rule.

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D12280

scripts/arcanist.php

index c0bd76616f3389f8d9c1695018f9880d5c8f9285..b7f70f551211cf9735517cadf9927690b981b15d 100755 (executable)
@@ -456,7 +456,8 @@ function sanity_check_environment() {
         'text',
         "You need to install the cURL PHP extension, maybe with ".
         "'apt-get install php5-curl' or 'yum install php53-curl' or ".
-        "something similar.",),
+        "something similar.",
+      ),
       'json_decode'   => array('flag', '--without-json'),
     );
   }