Test Failed
Pull Request — master (#9)
by
unknown
02:45
created
Behat/StepTimeLoggerExtension/ServiceContainer/StepTimeLoggerExtension.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
 {
19 19
     const CONFIG_KEY = 'steptimelogger';
20 20
 
21
-     /**
22
-     * {@inheritdoc}
23
-     */
21
+        /**
22
+         * {@inheritdoc}
23
+         */
24 24
     public function getConfigKey()
25 25
     {
26 26
         return self::CONFIG_KEY;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     private function getOutputTypeInitializer()
87 87
     {
88
-        return function ($value) {
88
+        return function($value) {
89 89
             $value = empty($value) ? ['console'] : $value;
90 90
             return is_array($value) ? $value : [$value];
91 91
         };
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     private function getOutputTypeValidator()
98 98
     {
99
-        return function ($value) {
99
+        return function($value) {
100 100
             $allowed = ['console', 'csv'];
101 101
             $invalid = array_diff($value, $allowed);
102 102
             
Please login to merge, or discard this patch.
src/Bex/Behat/StepTimeLoggerExtension/Service/OutputPrinter/Csv.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
         fclose($file);
69 69
 
70
-        $this->output->writeln('Step time log has been saved. Open at '.$filePath);
70
+        $this->output->writeln('Step time log has been saved. Open at ' . $filePath);
71 71
     }
72 72
 
73 73
     /**
@@ -78,6 +78,6 @@  discard block
 block discarded – undo
78 78
         $fileName = sprintf(self::FILE_NAME_PATTERN, time());
79 79
         $path = rtrim($this->outputDirectory, DIRECTORY_SEPARATOR);
80 80
 
81
-        return empty($path) ? $fileName : $path.DIRECTORY_SEPARATOR.$fileName;
81
+        return empty($path) ? $fileName : $path . DIRECTORY_SEPARATOR . $fileName;
82 82
     }
83 83
 }
Please login to merge, or discard this patch.