Completed
Pull Request — master (#127)
by
unknown
07:20 queued 24s
created
src/Paraunit/Printer/ProcessPrinter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
     public function onEngineEnd()
70 70
     {
71
-        while (! $this->isRowFull()) {
71
+        while ( ! $this->isRowFull()) {
72 72
             $this->output->write(' ');
73 73
             ++$this->singleRowCounter;
74 74
         }
Please login to merge, or discard this patch.
src/Paraunit/Printer/FinalPrinter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     {
82 82
         $this->getOutput()->writeln('');
83 83
         $this->getOutput()->writeln('');
84
-        $this->getOutput()->writeln('Execution time -- ' . gmdate('H:i:s', (int) ($stopEvent->getDuration() / 1000)));
84
+        $this->getOutput()->writeln('Execution time -- ' . gmdate('H:i:s', (int)($stopEvent->getDuration() / 1000)));
85 85
     }
86 86
 
87 87
     private function printTestCounters()
Please login to merge, or discard this patch.
src/Paraunit/TestResult/TestResultContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
     public function countTestResults(): int
83 83
     {
84
-        if (! $this->testResultFormat instanceof TestResultWithSymbolFormat) {
84
+        if ( ! $this->testResultFormat instanceof TestResultWithSymbolFormat) {
85 85
             return 0;
86 86
         }
87 87
 
Please login to merge, or discard this patch.
src/Paraunit/Filter/Filter.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 namespace Paraunit\Filter;
6 6
 
7
-if (! class_exists('SebastianBergmann\FileIterator\Facade')) {
7
+if ( ! class_exists('SebastianBergmann\FileIterator\Facade')) {
8 8
     \class_alias('\File_Iterator_Facade', 'SebastianBergmann\FileIterator\Facade');
9 9
 }
10 10
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     {
116 116
         $excludes = [];
117 117
         foreach ($testSuiteNode->getElementsByTagName('exclude') as $excludeNode) {
118
-            $excludes[] = (string) $excludeNode->nodeValue;
118
+            $excludes[] = (string)$excludeNode->nodeValue;
119 119
         }
120 120
 
121 121
         return $excludes;
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     private function addTestsFromDirectoryNodes(\DOMElement $testSuiteNode, array &$aggregatedFiles, array $excludes)
130 130
     {
131 131
         foreach ($testSuiteNode->getElementsByTagName('directory') as $directoryNode) {
132
-            $directory = (string) $directoryNode->nodeValue;
132
+            $directory = (string)$directoryNode->nodeValue;
133 133
 
134 134
             $files = $this->fileIteratorFacade->getFilesAsArray(
135 135
                 $this->relativePath . $directory,
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     private function addTestsFromFileNodes(\DOMElement $testSuiteNode, array &$aggregatedFiles)
152 152
     {
153 153
         foreach ($testSuiteNode->getElementsByTagName('file') as $fileNode) {
154
-            $fileName = $this->relativePath . (string) $fileNode->nodeValue;
154
+            $fileName = $this->relativePath . (string)$fileNode->nodeValue;
155 155
             $this->addFileToAggregateArray($aggregatedFiles, $fileName);
156 156
         }
157 157
     }
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     private function filterByString(array $aggregatedFiles, $stringFilter): array
200 200
     {
201 201
         if ($stringFilter !== null) {
202
-            $aggregatedFiles = array_filter($aggregatedFiles, function ($value) use ($stringFilter) {
202
+            $aggregatedFiles = array_filter($aggregatedFiles, function($value) use ($stringFilter) {
203 203
                 return stripos($value, $stringFilter) !== false;
204 204
             });
205 205
         }
Please login to merge, or discard this patch.
Paraunit/Configuration/DependencyInjection/ParallelContainerDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
 
170 170
     private function configureServices(ContainerBuilder $container)
171 171
     {
172
-        if (! class_exists('SebastianBergmann\FileIterator\Facade')) {
172
+        if ( ! class_exists('SebastianBergmann\FileIterator\Facade')) {
173 173
             \class_alias('\File_Iterator_Facade', 'SebastianBergmann\FileIterator\Facade');
174 174
         }
175 175
 
Please login to merge, or discard this patch.
src/Paraunit/Command/ParallelCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
      */
133 133
     private function setOptionValue(PHPUnitOption $option, $cliOption): bool
134 134
     {
135
-        if (! $cliOption) {
135
+        if ( ! $cliOption) {
136 136
             return false;
137 137
         }
138 138
         if ($option->hasValue()) {
Please login to merge, or discard this patch.