Completed
Push — master ( c02786...ba52e0 )
by Alessandro
5s
created
src/Paraunit/Process/ParaunitProcessAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,6 +147,6 @@
 block discarded – undo
147 147
      */
148 148
     public function isEmpty()
149 149
     {
150
-        return (bool) count($this->filename);
150
+        return (bool)count($this->filename);
151 151
     }
152 152
 }
Please login to merge, or discard this patch.
src/Paraunit/Printer/ProcessPrinter.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
         $this->output = $processEvent->get('output_interface');
32 32
 
33 33
         if ( ! $this->output instanceof OutputInterface) {
34
-            throw new \BadMethodCallException('output_interface, unexpected type: ' . get_class($this->output));
34
+            throw new \BadMethodCallException('output_interface, unexpected type: '.get_class($this->output));
35 35
         }
36 36
 
37 37
         switch (true) {
Please login to merge, or discard this patch.
src/Paraunit/Exception/JSONLogNotFoundException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
 {
12 12
     public function __construct(ParaunitProcessInterface $process)
13 13
     {
14
-        parent::__construct('JSON log not found for test; commandline: ' . $process->getCommandLine());
14
+        parent::__construct('JSON log not found for test; commandline: '.$process->getCommandLine());
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
src/Paraunit/Parser/JSONLogFetcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,6 +50,6 @@
 block discarded – undo
50 50
     {
51 51
         $splitted = preg_replace('/\}\{/', '},{', $jsonString);
52 52
 
53
-        return '[' . $splitted . ']';
53
+        return '['.$splitted.']';
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
src/Paraunit/Runner/Runner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
         if (array_key_exists($pHash, $this->processRunning)) {
168 168
             unset($this->processRunning[$pHash]);
169 169
         } else {
170
-            throw new \Exception('Trying to remove a non-existing process from running stack\! ID: ' . $pHash);
170
+            throw new \Exception('Trying to remove a non-existing process from running stack\! ID: '.$pHash);
171 171
         }
172 172
 
173 173
         if ($process->isToBeRetried()) {
Please login to merge, or discard this patch.
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.
src/Paraunit/Lifecycle/AbstractEvent.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
     public function get($contextParameterName)
32 32
     {
33 33
         if ( ! $this->has($contextParameterName)) {
34
-            throw new \LogicException('Cannot find parameter: ' . $contextParameterName);
34
+            throw new \LogicException('Cannot find parameter: '.$contextParameterName);
35 35
         }
36 36
 
37 37
         return $this->context[$contextParameterName];
Please login to merge, or discard this patch.