@@ -37,7 +37,7 @@ |
||
| 37 | 37 | ); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - if (! property_exists($log, 'message')) { |
|
| 40 | + if ( ! property_exists($log, 'message')) { |
|
| 41 | 41 | return new MuteTestResult(); |
| 42 | 42 | } |
| 43 | 43 | |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | { |
| 40 | 40 | $format = $singleResult->getTestResultFormat(); |
| 41 | 41 | |
| 42 | - if (! $format instanceof TestResultWithSymbolFormat) { |
|
| 42 | + if ( ! $format instanceof TestResultWithSymbolFormat) { |
|
| 43 | 43 | return ''; |
| 44 | 44 | } |
| 45 | 45 | |
@@ -83,11 +83,11 @@ |
||
| 83 | 83 | return; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | - if (! property_exists($logItem, 'suite')) { |
|
| 86 | + if ( ! property_exists($logItem, 'suite')) { |
|
| 87 | 87 | return; |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | - if (! property_exists($logItem, 'test')) { |
|
| 90 | + if ( ! property_exists($logItem, 'test')) { |
|
| 91 | 91 | return; |
| 92 | 92 | } |
| 93 | 93 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | |
| 36 | 36 | public function execute(AbstractParaunitProcess $process) |
| 37 | 37 | { |
| 38 | - if (! $this->isFree()) { |
|
| 38 | + if ( ! $this->isFree()) { |
|
| 39 | 39 | throw new \RuntimeException('This pipeline is not free'); |
| 40 | 40 | } |
| 41 | 41 | |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | public function isEmpty(): bool |
| 55 | 55 | { |
| 56 | 56 | foreach ($this->pipelines as $pipeline) { |
| 57 | - if (! $pipeline->isFree()) { |
|
| 57 | + if ( ! $pipeline->isFree()) { |
|
| 58 | 58 | return false; |
| 59 | 59 | } |
| 60 | 60 | } |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | */ |
| 59 | 59 | public function getOptions(PHPUnitConfig $config): array |
| 60 | 60 | { |
| 61 | - if (! $this->phpDbgBinFile->isAvailable()) { |
|
| 61 | + if ( ! $this->phpDbgBinFile->isAvailable()) { |
|
| 62 | 62 | return parent::getOptions($config); |
| 63 | 63 | } |
| 64 | 64 | |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | if ($input->getOption($optionName)) { |
| 64 | 64 | $this->addProcessor($coverageResult, $processorClass, [ |
| 65 | 65 | $this->createOutputFileDefinition($input, $optionName), |
| 66 | - (bool) $input->getOption('ansi'), |
|
| 66 | + (bool)$input->getOption('ansi'), |
|
| 67 | 67 | ]); |
| 68 | 68 | } |
| 69 | 69 | } |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | if ($this->optionIsEnabled($input, $optionName)) { |
| 79 | 79 | $this->addProcessor($coverageResult, $processorClass, [ |
| 80 | 80 | new Reference(OutputInterface::class), |
| 81 | - (bool) $input->getOption('ansi'), |
|
| 81 | + (bool)$input->getOption('ansi'), |
|
| 82 | 82 | $this->createOutputFileDefinition($input, $optionName), |
| 83 | 83 | ]); |
| 84 | 84 | } |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | */ |
| 115 | 115 | private function getOptionName(string $processorClass): string |
| 116 | 116 | { |
| 117 | - if (! \in_array(CoverageProcessorInterface::class, class_implements($processorClass), true)) { |
|
| 117 | + if ( ! \in_array(CoverageProcessorInterface::class, class_implements($processorClass), true)) { |
|
| 118 | 118 | throw new \InvalidArgumentException('Expecting FQCN of class implementing ' . CoverageProcessorInterface::class . ', got ' . $processorClass); |
| 119 | 119 | } |
| 120 | 120 | |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | |
| 98 | 98 | private function createPublicAliases(ContainerBuilder $containerBuilder) |
| 99 | 99 | { |
| 100 | - if (! $this->createPublicServiceAliases) { |
|
| 100 | + if ( ! $this->createPublicServiceAliases) { |
|
| 101 | 101 | return; |
| 102 | 102 | } |
| 103 | 103 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | */ |
| 30 | 30 | public function getPhpDbgBin(): string |
| 31 | 31 | { |
| 32 | - if (! $this->isAvailable()) { |
|
| 32 | + if ( ! $this->isAvailable()) { |
|
| 33 | 33 | throw new \RuntimeException('PHPDbg is not available!'); |
| 34 | 34 | } |
| 35 | 35 | |
@@ -52,6 +52,6 @@ discard block |
||
| 52 | 52 | $locator = new Process('command -v phpdbg'); |
| 53 | 53 | $locator->run(); |
| 54 | 54 | |
| 55 | - return (string) preg_replace('/\s/', '', $locator->getOutput()); |
|
| 55 | + return (string)preg_replace('/\s/', '', $locator->getOutput()); |
|
| 56 | 56 | } |
| 57 | 57 | } |