Completed
Push — master ( 96549e...2e805c )
by Tibor
01:19
created
src/Bex/Behat/ScreenshotExtension/Service/StepFilenameGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,6 +20,6 @@
 block discarded – undo
20 20
      */
21 21
     public function convertStepToFileName(StepNode $step)
22 22
     {
23
-        return preg_replace('/[^A-Za-z0-9\-]/', '_', mb_strtolower($step->getText())) . '.png';
23
+        return preg_replace('/[^A-Za-z0-9\-]/', '_', mb_strtolower($step->getText())).'.png';
24 24
     }
25 25
 }
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
src/Bex/Behat/ScreenshotExtension/Driver/Local.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     private function getDefaultDirectory()
75 75
     {
76
-        return sys_get_temp_dir() . DIRECTORY_SEPARATOR . self::DEFAULT_DIRECTORY;
76
+        return sys_get_temp_dir().DIRECTORY_SEPARATOR.self::DEFAULT_DIRECTORY;
77 77
     }
78 78
 
79 79
     /**
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     private function getTargetPath($fileName)
85 85
     {
86 86
         $path = rtrim($this->screenshotDirectory, DIRECTORY_SEPARATOR);
87
-        return empty($path) ? $fileName : $path . DIRECTORY_SEPARATOR . $fileName;
87
+        return empty($path) ? $fileName : $path.DIRECTORY_SEPARATOR.$fileName;
88 88
     }
89 89
 
90 90
     /**
Please login to merge, or discard this patch.
src/Bex/Behat/ScreenshotExtension/ServiceContainer/ScreenshotExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      */
110 110
     private function registerServices(ContainerBuilder $container)
111 111
     {
112
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/config'));
112
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/config'));
113 113
         $loader->load('services.xml');
114 114
     }
115 115
 }
Please login to merge, or discard this patch.
src/Bex/Behat/ScreenshotExtension/Output/IndentedOutput.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -184,13 +184,13 @@
 block discarded – undo
184 184
         if (is_array($messages)) {
185 185
             array_walk(
186 186
                 $messages,
187
-                function ($message) {
188
-                    return $this->indentation . $message;
187
+                function($message) {
188
+                    return $this->indentation.$message;
189 189
                 }
190 190
             );
191 191
             return $messages;
192 192
         } else {
193
-            $messages = $this->indentation . $messages;
193
+            $messages = $this->indentation.$messages;
194 194
             return $messages;
195 195
         }
196 196
     }
Please login to merge, or discard this patch.