Completed
Pull Request — master (#128)
by Alessandro
04:58 queued 02:19
created
src/Paraunit/TestResult/TestResultFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Paraunit/Printer/SingleResultFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Paraunit/Parser/JSON/TestStartParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,11 +83,11 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Paraunit/Runner/Pipeline.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Paraunit/Runner/PipelineCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/Paraunit/Process/CommandLineWithCoverage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Paraunit/Configuration/CoverageConfiguration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Paraunit/Configuration/ParallelConfiguration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Paraunit/Configuration/PHPUnitConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.