From 897f8acf62ae142e2a0587a31a861aeace56e872 Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Fri, 28 Jul 2017 13:52:08 -0700 Subject: [PATCH] Code style. --- src/Boot/Preflight.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Boot/Preflight.php b/src/Boot/Preflight.php index c465c525f7..61567aa91f 100644 --- a/src/Boot/Preflight.php +++ b/src/Boot/Preflight.php @@ -88,9 +88,8 @@ public function prepareConfig($preflightArgs, $environment) public function run($argv) { $status = 0; - try - { - $status = $this->do_run($argv); + try { + $status = $this->doRun($argv); } catch (\Exception $e) { $status = $e->getCode(); $message = $e->getMessage(); @@ -101,7 +100,7 @@ public function run($argv) return $status; } - protected function do_run($argv) + protected function doRun($argv) { // Fail fast if the PHP version is not at least 5.6.0. $this->confirmPhpVersion('5.6.0'); @@ -196,7 +195,7 @@ protected function commandDiscovery() * Return the search path containing all of the locations where Drush * commands are found. */ - function findCommandFileSearchPath($preflightArgs) + protected function findCommandFileSearchPath($preflightArgs) { // Start with the built-in commands $searchpath = [ dirname(__DIR__) ];