From 32d5f113d31e2d8acc4056c1093bfdc91585ff60 Mon Sep 17 00:00:00 2001 From: shin1x1 Date: Sat, 14 Jul 2012 16:47:33 +0900 Subject: [PATCH] fixed phpcs errors. --- lib/Cake/Console/Command/ServerShell.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Console/Command/ServerShell.php b/lib/Cake/Console/Command/ServerShell.php index 99c18231d80..d19a7078933 100644 --- a/lib/Cake/Console/Command/ServerShell.php +++ b/lib/Cake/Console/Command/ServerShell.php @@ -91,7 +91,7 @@ public function startup() { $this->_documentRoot = substr($this->_documentRoot, 0, strlen($this->_documentRoot) - 1); } if (preg_match("/^([a-z]:)[\\\]+(.+)$/i", $this->_documentRoot, $m)) { - $this->_documentRoot = $m[1].'\\'.$m[2]; + $this->_documentRoot = $m[1] . '\\' . $m[2]; } parent::startup(); @@ -129,7 +129,7 @@ public function main() { $this->_documentRoot ); - $port = ($this->_port == self::DEFAULT_PORT) ? '' : ':'.$this->_port; + $port = ($this->_port == self::DEFAULT_PORT) ? '' : ':' . $this->_port; $this->out(__d('cake_console', 'built-in server is running in http://%s%s/', $this->_host, $port)); $ret = system($command); }