Completed
Push — output_parsers_refactor ( d2cb12...a7c18a )
by Alessandro
03:46
created
src/Paraunit/Parser/JSONLogParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
         $process->reportAbnormalTermination();
131 131
         $this->getAbnormalTerminatedOutputContainer()->addToOutputBuffer(
132 132
             $process,
133
-            'Culpable test function: ' . $culpableFunctionName . " -- complete test output:\n\n" . $process->getOutput()
133
+            'Culpable test function: '.$culpableFunctionName." -- complete test output:\n\n".$process->getOutput()
134 134
         );
135 135
     }
136 136
 }
Please login to merge, or discard this patch.
src/Paraunit/Parser/AbstractParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,9 +90,9 @@
 block discarded – undo
90 90
         $stackTrace = '';
91 91
 
92 92
         foreach ($log->trace as $step) {
93
-            $stackTrace .= "\n" . $step->file . ':' . $step->line;
93
+            $stackTrace .= "\n".$step->file.':'.$step->line;
94 94
         }
95 95
 
96
-        return $log->test . "\n" . $log->message . "\n" . $stackTrace;
96
+        return $log->test."\n".$log->message."\n".$stackTrace;
97 97
     }
98 98
 }
Please login to merge, or discard this patch.
src/Paraunit/Process/ProcessFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -66,11 +66,11 @@
 block discarded – undo
66 66
      */
67 67
     private function createCommandLine($testFilePath, $uniqueId)
68 68
     {
69
-        return $this->phpUnitBin .
70
-        ' -c ' . $this->phpunitConfigFile->getFileFullPath() .
71
-        ' --colors=never' .
72
-        ' --log-json=' . $this->jsonLogFilename->generateFromUniqueId($uniqueId) .
73
-        ' ' . $testFilePath;
69
+        return $this->phpUnitBin.
70
+        ' -c '.$this->phpunitConfigFile->getFileFullPath().
71
+        ' --colors=never'.
72
+        ' --log-json='.$this->jsonLogFilename->generateFromUniqueId($uniqueId).
73
+        ' '.$testFilePath;
74 74
     }
75 75
 
76 76
     /**
Please login to merge, or discard this patch.