Test Failed
Push — master ( 4527f5...6e7815 )
by Ylva
21:41 queued 04:42
created
a/vendor/phpunit/phpunit/tests/unit/Framework/Constraint/LogicalAndTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
             8,
43 43
         ];
44 44
 
45
-        $constraints = \array_map(function (int $count) {
45
+        $constraints = \array_map(function(int $count) {
46 46
             return \CountConstraint::fromCount($count);
47 47
         }, $counts);
48 48
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             'is rich in unsaturated fats',
64 64
         ];
65 65
 
66
-        $constraints = \array_map(function (string $name) {
66
+        $constraints = \array_map(function(string $name) {
67 67
             return \NamedConstraint::fromName($name);
68 68
         }, $names);
69 69
 
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     {
230 230
         return \implode(
231 231
             ' and ',
232
-            \array_map(function (Constraint $constraint) {
232
+            \array_map(function(Constraint $constraint) {
233 233
                 return $constraint->toString();
234 234
             }, $constraints)
235 235
         );
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/tests/unit/Framework/Constraint/LogicalOrTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             8,
36 36
         ];
37 37
 
38
-        $constraints = \array_map(function (int $count) {
38
+        $constraints = \array_map(function(int $count) {
39 39
             return \CountConstraint::fromCount($count);
40 40
         }, $counts);
41 41
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             'is rich in unsaturated fats',
57 57
         ];
58 58
 
59
-        $constraints = \array_map(function (string $name) {
59
+        $constraints = \array_map(function(string $name) {
60 60
             return \NamedConstraint::fromName($name);
61 61
         }, $names);
62 62
 
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     {
225 225
         return \implode(
226 226
             ' or ',
227
-            \array_map(function (Constraint $constraint) {
227
+            \array_map(function(Constraint $constraint) {
228 228
                 return $constraint->toString();
229 229
             }, $constraints)
230 230
         );
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/tests/unit/Framework/Constraint/LogicalXorTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $other = 'Foo';
21 21
         $count = 5;
22 22
 
23
-        $constraints = \array_map(function () use ($other) {
23
+        $constraints = \array_map(function() use ($other) {
24 24
             static $count = 0;
25 25
 
26 26
             $constraint = $this->getMockBuilder(Constraint::class)->getMock();
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
                 ->expects($this->once())
30 30
                 ->method('evaluate')
31 31
                 ->with($this->identicalTo($other))
32
-                ->willReturn($count % 2 === 1);
32
+                ->willReturn($count%2 === 1);
33 33
 
34 34
             ++$count;
35 35
 
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/tests/unit/Framework/Constraint/CallbackTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function testConstraintCallback(): void
27 27
     {
28
-        $closureReflect = function ($parameter) {
28
+        $closureReflect = function($parameter) {
29 29
             return $parameter;
30 30
         };
31 31
 
32
-        $closureWithoutParameter = function () {
32
+        $closureWithoutParameter = function() {
33 33
             return true;
34 34
         };
35 35
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     public function testConstraintCallbackFailure(): void
55 55
     {
56
-        $constraint = new Callback(function () {
56
+        $constraint = new Callback(function() {
57 57
             return false;
58 58
         });
59 59
 
Please login to merge, or discard this patch.
phpunit/phpunit/tests/end-to-end/regression/GitHub/581/Issue581Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
     public function testExportingObjectsDoesNotBreakWindowsLineFeeds(): void
15 15
     {
16 16
         $this->assertEquals(
17
-            (object) [1, 2, "Test\r\n", 4, 5, 6, 7, 8],
18
-            (object) [1, 2, "Test\r\n", 4, 1, 6, 7, 8]
17
+            (object)[1, 2, "Test\r\n", 4, 5, 6, 7, 8],
18
+            (object)[1, 2, "Test\r\n", 4, 1, 6, 7, 8]
19 19
         );
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
phpunit/phpunit/tests/end-to-end/regression/GitHub/1335/bootstrap1335.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,6 +16,6 @@
 block discarded – undo
16 16
 $globalNull                            = null;
17 17
 $globalArray                           = ['foo'];
18 18
 $globalNestedArray                     = [['foo']];
19
-$globalObject                          = (object) ['foo'=> 'bar'];
20
-$globalObjectWithBackSlashString       = (object) ['foo'=> 'back\\slash'];
21
-$globalObjectWithDoubleBackSlashString = (object) ['foo'=> 'back\\\\slash'];
19
+$globalObject                          = (object)['foo'=> 'bar'];
20
+$globalObjectWithBackSlashString       = (object)['foo'=> 'back\\slash'];
21
+$globalObjectWithDoubleBackSlashString = (object)['foo'=> 'back\\\\slash'];
Please login to merge, or discard this patch.
phpunit/phpunit/tests/end-to-end/regression/GitHub/1335/Issue1335Test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,16 +62,16 @@
 block discarded – undo
62 62
 
63 63
     public function testGlobalObject(): void
64 64
     {
65
-        $this->assertEquals((object) ['foo'=> 'bar'], $GLOBALS['globalObject']);
65
+        $this->assertEquals((object)['foo'=> 'bar'], $GLOBALS['globalObject']);
66 66
     }
67 67
 
68 68
     public function testGlobalObjectWithBackSlashString(): void
69 69
     {
70
-        $this->assertEquals((object) ['foo'=> 'back\\slash'], $GLOBALS['globalObjectWithBackSlashString']);
70
+        $this->assertEquals((object)['foo'=> 'back\\slash'], $GLOBALS['globalObjectWithBackSlashString']);
71 71
     }
72 72
 
73 73
     public function testGlobalObjectWithDoubleBackSlashString(): void
74 74
     {
75
-        $this->assertEquals((object) ['foo'=> 'back\\\\slash'], $GLOBALS['globalObjectWithDoubleBackSlashString']);
75
+        $this->assertEquals((object)['foo'=> 'back\\\\slash'], $GLOBALS['globalObjectWithDoubleBackSlashString']);
76 76
     }
77 77
 }
Please login to merge, or discard this patch.
regression/GitHub/2724/SeparateClassRunMethodInNewProcessTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         parent::setUpBeforeClass();
29 29
 
30 30
         if (\file_exists(self::PROCESS_ID_FILE_PATH)) {
31
-            static::$masterPid = (int) \file_get_contents(self::PROCESS_ID_FILE_PATH);
31
+            static::$masterPid = (int)\file_get_contents(self::PROCESS_ID_FILE_PATH);
32 32
         }
33 33
     }
34 34
 
Please login to merge, or discard this patch.
a/vendor/phpunit/phpunit/src/Runner/Filter/GroupFilterIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         parent::__construct($iterator);
26 26
 
27 27
         foreach ($suite->getGroupDetails() as $group => $tests) {
28
-            if (\in_array((string) $group, $groups, true)) {
28
+            if (\in_array((string)$group, $groups, true)) {
29 29
                 $testHashes = \array_map(
30 30
                     'spl_object_hash',
31 31
                     $tests
Please login to merge, or discard this patch.