@@ -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 |
@@ -77,7 +77,7 @@ |
||
77 | 77 | $configFile .= DIRECTORY_SEPARATOR . self::DEFAULT_FILE_NAME; |
78 | 78 | } |
79 | 79 | |
80 | - if (! is_file($configFile) || ! is_readable($configFile)) { |
|
80 | + if ( ! is_file($configFile) || ! is_readable($configFile)) { |
|
81 | 81 | throw new \InvalidArgumentException('Config file ' . $configFile . ' does not exist or is not readable'); |
82 | 82 | } |
83 | 83 |