Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed phpcs errors.

  • Loading branch information...
commit 32d5f113d31e2d8acc4056c1093bfdc91585ff60 1 parent dd524c9
@shin1x1 shin1x1 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Console/Command/ServerShell.php
View
4 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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.