@@ -134,7 +134,7 @@ |
||
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | /** |
| 137 | - * @param $debug |
|
| 137 | + * @param boolean $debug |
|
| 138 | 138 | * |
| 139 | 139 | * @return ParaunitProcessAbstract |
| 140 | 140 | */ |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | */ |
| 52 | 52 | private function coverageFileIsValid($tempFilename) |
| 53 | 53 | { |
| 54 | - if (! file_exists($tempFilename)) { |
|
| 54 | + if ( ! file_exists($tempFilename)) { |
|
| 55 | 55 | return false; |
| 56 | 56 | } |
| 57 | 57 | |
@@ -55,17 +55,17 @@ |
||
| 55 | 55 | $coverageData = $this->coverageMerger->getCoverageData(); |
| 56 | 56 | |
| 57 | 57 | $cloverFilePath = $this->coverageOutputPaths->getCloverFilePath(); |
| 58 | - if (! $cloverFilePath->isEmpty()) { |
|
| 58 | + if ( ! $cloverFilePath->isEmpty()) { |
|
| 59 | 59 | $this->cloverResult->process($coverageData, $cloverFilePath); |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | $xmlPath = $this->coverageOutputPaths->getXmlPath(); |
| 63 | - if (! $xmlPath->isEmpty()) { |
|
| 63 | + if ( ! $xmlPath->isEmpty()) { |
|
| 64 | 64 | $this->xmlResult->process($coverageData, $xmlPath); |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | $htmlPath = $this->coverageOutputPaths->getHtmlPath(); |
| 68 | - if (! $htmlPath->isEmpty()) { |
|
| 68 | + if ( ! $htmlPath->isEmpty()) { |
|
| 69 | 69 | $this->htmlResult->process($coverageData, $htmlPath); |
| 70 | 70 | } |
| 71 | 71 | } |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | protected function execute(InputInterface $input, OutputInterface $output) |
| 46 | 46 | { |
| 47 | - if (! $this->hasChosenCoverageMethod($input)) { |
|
| 47 | + if ( ! $this->hasChosenCoverageMethod($input)) { |
|
| 48 | 48 | throw new \InvalidArgumentException('You should choose at least one method of coverage output, between Clover, XML or HTML'); |
| 49 | 49 | } |
| 50 | 50 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function getPhpDbgBin() |
| 29 | 29 | { |
| 30 | - if (! $this->isAvailable()) { |
|
| 30 | + if ( ! $this->isAvailable()) { |
|
| 31 | 31 | throw new \RuntimeException('PHPDbg is not available!'); |
| 32 | 32 | } |
| 33 | 33 | |
@@ -47,6 +47,6 @@ discard block |
||
| 47 | 47 | $locator = new Process('command -v phpdbg'); |
| 48 | 48 | $locator->run(); |
| 49 | 49 | |
| 50 | - return (string) $locator->getOutput(); |
|
| 50 | + return (string)$locator->getOutput(); |
|
| 51 | 51 | } |
| 52 | 52 | } |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | private static function loadIfNotPresent($class, $alias) |
| 36 | 36 | { |
| 37 | - if (! class_exists($alias)) { |
|
| 37 | + if ( ! class_exists($alias)) { |
|
| 38 | 38 | class_alias($class, $alias); |
| 39 | 39 | } |
| 40 | 40 | } |