@@ -147,6 +147,6 @@ |
||
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 | } |
@@ -30,8 +30,8 @@ |
||
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 | } |
@@ -17,7 +17,7 @@ |
||
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"; |
@@ -31,7 +31,7 @@ |
||
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) { |
@@ -21,11 +21,11 @@ |
||
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; |
@@ -11,6 +11,6 @@ |
||
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 | } |
@@ -77,6 +77,6 @@ |
||
77 | 77 | { |
78 | 78 | $regex = implode('|', $patterns); |
79 | 79 | |
80 | - return '/' . $regex . '/'; |
|
80 | + return '/'.$regex.'/'; |
|
81 | 81 | } |
82 | 82 | } |
@@ -50,6 +50,6 @@ |
||
50 | 50 | { |
51 | 51 | $splitted = preg_replace('/\}\{/', '},{', $jsonString); |
52 | 52 | |
53 | - return '[' . $splitted . ']'; |
|
53 | + return '['.$splitted.']'; |
|
54 | 54 | } |
55 | 55 | } |
@@ -167,7 +167,7 @@ |
||
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()) { |