Test Failed
Pull Request — master (#18)
by Ylva
07:22
created
a/vendor/phpunit/phpunit/src/Util/XdebugFilterScriptGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
         $items = $this->getWhitelistItems($filterData);
17 17
 
18 18
         $files = \array_map(
19
-            function ($item) {
19
+            function($item) {
20 20
                 return \sprintf(
21 21
                     "        '%s'",
22 22
                     $item
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/src/Util/Log/TeamCity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -386,6 +386,6 @@
 block discarded – undo
386 386
      */
387 387
     private static function toMilliseconds(float $time): int
388 388
     {
389
-        return \round($time * 1000);
389
+        return \round($time*1000);
390 390
     }
391 391
 }
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/src/Util/Xml.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
                     $value = self::xmlToVariable($item);
198 198
 
199 199
                     if ($entry->hasAttribute('key')) {
200
-                        $variable[(string) $entry->getAttribute('key')] = $value;
200
+                        $variable[(string)$entry->getAttribute('key')] = $value;
201 201
                     } else {
202 202
                         $variable[] = $value;
203 203
                     }
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/src/Util/Test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -385,9 +385,9 @@  discard block
 block discarded – undo
385 385
             }
386 386
 
387 387
             if (\is_numeric($code)) {
388
-                $code = (int) $code;
388
+                $code = (int)$code;
389 389
             } elseif (\is_string($code) && \defined($code)) {
390
-                $code = (int) \constant($code);
390
+                $code = (int)\constant($code);
391 391
             }
392 392
 
393 393
             return [
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
             $numMatches = \count($matches[0]);
548 548
 
549 549
             for ($i = 0; $i < $numMatches; ++$i) {
550
-                $annotations[$matches['name'][$i]][] = (string) $matches['value'][$i];
550
+                $annotations[$matches['name'][$i]][] = (string)$matches['value'][$i];
551 551
             }
552 552
         }
553 553
 
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/src/Util/TestResultCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
 
182 182
         if (isset($data['times'])) {
183 183
             foreach ($data['times'] as $testName => $testTime) {
184
-                $this->times[$testName] = (float) $testTime;
184
+                $this->times[$testName] = (float)$testTime;
185 185
             }
186 186
         }
187 187
 
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/src/Framework/TestSuite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -615,7 +615,7 @@
 block discarded – undo
615 615
         }
616 616
 
617 617
         foreach ($fileNames as $filename) {
618
-            $this->addTestFile((string) $filename);
618
+            $this->addTestFile((string)$filename);
619 619
         }
620 620
     }
621 621
 
Please login to merge, or discard this patch.
phpunit/phpunit/src/Framework/MockObject/Invocation/StaticInvocation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,13 +172,13 @@
 block discarded – undo
172 172
 
173 173
             case 'callable':
174 174
             case 'closure':
175
-                return function (): void {
175
+                return function(): void {
176 176
                 };
177 177
 
178 178
             case 'traversable':
179 179
             case 'generator':
180 180
             case 'iterable':
181
-                $generator = function () {
181
+                $generator = function() {
182 182
                     yield;
183 183
                 };
184 184
 
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/src/Framework/MockObject/Generator.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         if (\is_array($type)) {
96 96
             $type = \array_unique(
97 97
                 \array_map(
98
-                    function ($type) {
98
+                    function($type) {
99 99
                         if ($type === 'Traversable' ||
100 100
                             $type === '\\Traversable' ||
101 101
                             $type === '\\Iterator') {
@@ -666,7 +666,7 @@  discard block
 block discarded – undo
666 666
      */
667 667
     private function generateMock($type, $explicitMethods, $mockClassName, $callOriginalClone, $callAutoload, $cloneArguments, $callOriginalMethods)
668 668
     {
669
-        $classTemplate       = $this->getTemplate('mocked_class.tpl');
669
+        $classTemplate = $this->getTemplate('mocked_class.tpl');
670 670
 
671 671
         $additionalInterfaces = [];
672 672
         $cloneTemplate        = '';
@@ -763,7 +763,7 @@  discard block
 block discarded – undo
763 763
                 } catch (\ReflectionException $e) {
764 764
                     throw new RuntimeException(
765 765
                         $e->getMessage(),
766
-                        (int) $e->getCode(),
766
+                        (int)$e->getCode(),
767 767
                         $e
768 768
                     );
769 769
                 }
@@ -777,7 +777,7 @@  discard block
 block discarded – undo
777 777
                         } catch (\ReflectionException $e) {
778 778
                             throw new RuntimeException(
779 779
                                 $e->getMessage(),
780
-                                (int) $e->getCode(),
780
+                                (int)$e->getCode(),
781 781
                                 $e
782 782
                             );
783 783
                         }
@@ -891,7 +891,7 @@  discard block
 block discarded – undo
891 891
                 'configurable'      => '[' . \implode(
892 892
                     ', ',
893 893
                     \array_map(
894
-                        function ($m) {
894
+                        function($m) {
895 895
                             return '\'' . $m . '\'';
896 896
                         },
897 897
                         $configurable
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/src/Framework/MockObject/MockMethod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -331,7 +331,7 @@
 block discarded – undo
331 331
                         } catch (\ReflectionException $e) {
332 332
                             throw new RuntimeException(
333 333
                                 $e->getMessage(),
334
-                                (int) $e->getCode(),
334
+                                (int)$e->getCode(),
335 335
                                 $e
336 336
                             );
337 337
                         }
Please login to merge, or discard this patch.