From: Joshua Spence Date: Tue, 9 Sep 2014 20:33:31 +0000 (+1000) Subject: Apply some autofix linter rules X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=38502ba9102c9dc843b2f9e1eb67231535d46fc2;p=arcanist.git Apply some autofix linter rules Summary: Self-explanatory Test Plan: Eyeball it. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10453 --- diff --git a/src/exception/usage/ArcanistUncommittedChangesException.php b/src/exception/usage/ArcanistUncommittedChangesException.php index 488150b0..5baedf52 100644 --- a/src/exception/usage/ArcanistUncommittedChangesException.php +++ b/src/exception/usage/ArcanistUncommittedChangesException.php @@ -1,5 +1,4 @@ getUnmodifiedFileContent(); diff --git a/src/lint/engine/ArcanistLintEngine.php b/src/lint/engine/ArcanistLintEngine.php index 6ffa4f7c..f32f640a 100644 --- a/src/lint/engine/ArcanistLintEngine.php +++ b/src/lint/engine/ArcanistLintEngine.php @@ -66,9 +66,7 @@ abstract class ArcanistLintEngine { private $linterResources = array(); - public function __construct() { - - } + public function __construct() {} final public function setConfigurationManager( ArcanistConfigurationManager $configuration_manager) { diff --git a/src/unit/engine/ArcanistUnitTestEngine.php b/src/unit/engine/ArcanistUnitTestEngine.php index 4153f00c..c449ed6f 100644 --- a/src/unit/engine/ArcanistUnitTestEngine.php +++ b/src/unit/engine/ArcanistUnitTestEngine.php @@ -34,9 +34,7 @@ abstract class ArcanistUnitTestEngine { return false; } - final public function __construct() { - - } + final public function __construct() {} public function setConfigurationManager( ArcanistConfigurationManager $configuration_manager) { diff --git a/src/workflow/ArcanistFeatureWorkflow.php b/src/workflow/ArcanistFeatureWorkflow.php index c361256f..4ffb4662 100644 --- a/src/workflow/ArcanistFeatureWorkflow.php +++ b/src/workflow/ArcanistFeatureWorkflow.php @@ -136,8 +136,7 @@ EOTEXT $command, $name); } - } catch (ConduitClientException $ex) { - } + } catch (ConduitClientException $ex) {} } }