Completed
Pull Request — master (#4852)
by
unknown
15:00
created
src/Codeception/Exception/ModuleRequireException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,6 +10,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Codeception/Exception/ExtensionException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Codeception/Exception/ModuleConfigException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,6 +10,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Codeception/Exception/ElementNotFound.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,6 +8,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Codeception/Subscriber/Bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/Codeception/Actor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Codeception/Lib/Generator/Group.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,12 +47,12 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Codeception/Lib/Connector/Yii2.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Codeception/Lib/Connector/ZF2.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.