From e55e6e1e1b32efbc57c7a8f997547688655d0568 Mon Sep 17 00:00:00 2001 From: "Steve \"Uru\" West" Date: Fri, 6 Mar 2015 12:42:00 +0000 Subject: [PATCH 1/2] Updates php server method names to match those in code. --- docs/tasks/Development.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tasks/Development.md b/docs/tasks/Development.md index fcc103dc8..76f370228 100644 --- a/docs/tasks/Development.md +++ b/docs/tasks/Development.md @@ -166,17 +166,17 @@ Runs PHP server and stops it when task finishes. ``` php taskPhpServer(8000) +$this->taskServer(8000) ->dir('public') ->run(); // run with IP 0.0.0.0 -$this->taskPhpServer(8000) +$this->taskServer(8000) ->host('0.0.0.0') ->run(); // execute server in background -$this->taskPhpServer(8000) +$this->taskServer(8000) ->background() ->run(); ?> From 69053c81bef0c1c28a8a8d7ae70718b4a979612d Mon Sep 17 00:00:00 2001 From: "Steve \"Uru\" West" Date: Fri, 6 Mar 2015 12:44:31 +0000 Subject: [PATCH 2/2] Update PhpServer.php --- src/Task/Development/PhpServer.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Task/Development/PhpServer.php b/src/Task/Development/PhpServer.php index fe73329e4..cec2fe256 100644 --- a/src/Task/Development/PhpServer.php +++ b/src/Task/Development/PhpServer.php @@ -9,17 +9,17 @@ * ``` php * taskPhpServer(8000) + * $this->taskServer(8000) * ->dir('public') * ->run(); * * // run with IP 0.0.0.0 - * $this->taskPhpServer(8000) + * $this->taskServer(8000) * ->host('0.0.0.0') * ->run(); * * // execute server in background - * $this->taskPhpServer(8000) + * $this->taskServer(8000) * ->background() * ->run(); * ?> @@ -53,4 +53,4 @@ public function getCommand() return sprintf($this->command . $this->arguments, $this->host, $this->port); } -} \ No newline at end of file +}