Completed
Branch master (38e467)
by Alessandro
02:16
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/SharkPrinter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@
 block discarded – undo
30 30
 
31 31
         $outputInterface->writeln('');
32 32
         $outputInterface->writeln(
33
-            'PARAUNIT v' .
34
-            Paraunit::PARAUNIT_VERSION .
33
+            'PARAUNIT v'.
34
+            Paraunit::PARAUNIT_VERSION.
35 35
             ' - by Francesco Panina, Alessandro Lai & Shark Dev Team @ Facile.it'
36 36
         );
37 37
     }
Please login to merge, or discard this patch.
src/Paraunit/Printer/DebugPrinter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public static function printDebugOutput(ParaunitProcessInterface $launchedProcess, array $runningStack)
18 18
     {
19 19
         echo "\n New running stack:";
20
-        echo "\n STARTED :" . $launchedProcess->getCommandLine();
20
+        echo "\n STARTED :".$launchedProcess->getCommandLine();
21 21
         echo "\n --------";
22 22
         foreach ($runningStack as $processRunning) {
23 23
             echo "\n";
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/Configuration/PHPUnitConfigFile.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
21 21
         }
22 22
 
23 23
         $configFile = is_dir($inputPathOrFileName)
24
-            ? $inputPathOrFileName . DIRECTORY_SEPARATOR . self::DEFAULT_FILE_NAME
24
+            ? $inputPathOrFileName.DIRECTORY_SEPARATOR.self::DEFAULT_FILE_NAME
25 25
             : $inputPathOrFileName;
26 26
 
27 27
         if ( ! is_file($configFile) || ! is_readable($configFile)) {
28
-            throw new \InvalidArgumentException('Config file ' . $configFile . ' does not exist or is not readable');
28
+            throw new \InvalidArgumentException('Config file '.$configFile.' does not exist or is not readable');
29 29
         }
30 30
 
31 31
         $this->configFile = $configFile;
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/RetryParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,6 +77,6 @@
 block discarded – undo
77 77
     {
78 78
         $regex = implode('|', $patterns);
79 79
 
80
-        return '/' . $regex . '/';
80
+        return '/'.$regex.'/';
81 81
     }
82 82
 }
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.