@@ -10,6 +10,6 @@ |
||
10 | 10 | } |
11 | 11 | $module = str_replace('Codeception\\Module\\', '', ltrim($module, '\\')); |
12 | 12 | parent::__construct($message); |
13 | - $this->message = "[$module] module requirements not met --\n \n" . $this->message; |
|
13 | + $this->message = "[$module] module requirements not met --\n \n".$this->message; |
|
14 | 14 | } |
15 | 15 | } |
@@ -9,6 +9,6 @@ |
||
9 | 9 | if (is_object($extension)) { |
10 | 10 | $extension = get_class($extension); |
11 | 11 | } |
12 | - $this->message = $extension . "\n\n" . $this->message; |
|
12 | + $this->message = $extension."\n\n".$this->message; |
|
13 | 13 | } |
14 | 14 | } |
@@ -10,6 +10,6 @@ |
||
10 | 10 | } |
11 | 11 | $module = str_replace('Codeception\Module\\', '', ltrim($module, '\\')); |
12 | 12 | parent::__construct($message, 0, $previous); |
13 | - $this->message = $module . " module is not configured!\n \n" . $this->message; |
|
13 | + $this->message = $module." module is not configured!\n \n".$this->message; |
|
14 | 14 | } |
15 | 15 | } |
@@ -8,6 +8,6 @@ |
||
8 | 8 | public function __construct($selector, $message = null) |
9 | 9 | { |
10 | 10 | $selector = Locator::humanReadableString($selector); |
11 | - parent::__construct($message . " element with $selector was not found."); |
|
11 | + parent::__construct($message." element with $selector was not found."); |
|
12 | 12 | } |
13 | 13 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | return; |
27 | 27 | } |
28 | 28 | |
29 | - $bootstrap = $settings['path'] . $settings['bootstrap']; |
|
29 | + $bootstrap = $settings['path'].$settings['bootstrap']; |
|
30 | 30 | if (!is_file($bootstrap)) { |
31 | 31 | throw new ConfigurationException("Bootstrap file $bootstrap can't be loaded"); |
32 | 32 | } |
@@ -31,7 +31,7 @@ |
||
31 | 31 | |
32 | 32 | public function wantToTest($text) |
33 | 33 | { |
34 | - $this->wantTo('test ' . $text); |
|
34 | + $this->wantTo('test '.$text); |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | public function wantTo($text) |
@@ -47,12 +47,12 @@ |
||
47 | 47 | { |
48 | 48 | $this->settings = $settings; |
49 | 49 | $this->name = $name; |
50 | - $this->namespace = $this->getNamespaceString($this->settings['namespace'] . '\\Group\\' . $name); |
|
50 | + $this->namespace = $this->getNamespaceString($this->settings['namespace'].'\\Group\\'.$name); |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | public function produce() |
54 | 54 | { |
55 | - $ns = $this->getNamespaceString($this->settings['namespace'] . '\\' . $this->name); |
|
55 | + $ns = $this->getNamespaceString($this->settings['namespace'].'\\'.$this->name); |
|
56 | 56 | return (new Template($this->template)) |
57 | 57 | ->place('class', ucfirst($this->name)) |
58 | 58 | ->place('name', $this->name) |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | |
93 | 93 | $pathString = parse_url($uri, PHP_URL_PATH); |
94 | 94 | $queryString = parse_url($uri, PHP_URL_QUERY); |
95 | - $_SERVER['REQUEST_URI'] = $queryString === null ? $pathString : $pathString . '?' . $queryString; |
|
95 | + $_SERVER['REQUEST_URI'] = $queryString === null ? $pathString : $pathString.'?'.$queryString; |
|
96 | 96 | $_SERVER['REQUEST_METHOD'] = strtoupper($request->getMethod()); |
97 | 97 | |
98 | 98 | parse_str($queryString, $params); |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | // catch "location" header and display it in debug, otherwise it would be handled |
146 | 146 | // by symfony browser-kit and not displayed. |
147 | 147 | if (isset($this->headers['location'])) { |
148 | - Debug::debug("[Headers] " . json_encode($this->headers)); |
|
148 | + Debug::debug("[Headers] ".json_encode($this->headers)); |
|
149 | 149 | } |
150 | 150 | |
151 | 151 | $this->resetApplication(); |
@@ -67,7 +67,7 @@ |
||
67 | 67 | $zendRequest->setUri($uri); |
68 | 68 | $requestUri = $uri->getPath(); |
69 | 69 | if (!empty($queryString)) { |
70 | - $requestUri .= '?' . $queryString; |
|
70 | + $requestUri .= '?'.$queryString; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | $zendRequest->setRequestUri($requestUri); |