GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Setup Failed
Branch master (2d28d3)
by Markus
03:03
created
ArrayAccess/ArrayAccessFailed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     public static function jsonSchemaValidationFailed(ValidationError ...$errors): self
58 58
     {
59 59
         $messages = \array_map(
60
-            function (ValidationError $error) {
60
+            function(ValidationError $error) {
61 61
                 return \sprintf(
62 62
                     'Error: [%s], Data pointer: [%s]',
63 63
                     $error->keyword(),
Please login to merge, or discard this patch.
ArrayAccess/DotAnnotation/SimpleDotAnnotation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     private function normalizePathCallback()
31 31
     {
32
-        return function (string $pathElement) {
32
+        return function(string $pathElement) {
33 33
             if (trim((string) $pathElement) === '') {
34 34
                 return 0;
35 35
             }
Please login to merge, or discard this patch.
Tests/ArrayAccess/ArrayAccessTest.php 2 patches
Indentation   +58 added lines, -58 removed lines patch added patch discarded remove patch
@@ -17,12 +17,12 @@  discard block
 block discarded – undo
17 17
     public function it_returns_array_data(): void
18 18
     {
19 19
         $testArray = [
20
-             'Foo' => [
21
-                 'Bar' => [
22
-                     'Baz' => 'Buz',
23
-                 ],
24
-             ],
25
-         ];
20
+                'Foo' => [
21
+                    'Bar' => [
22
+                        'Baz' => 'Buz',
23
+                    ],
24
+                ],
25
+            ];
26 26
         $access = ArrayAccess::create($testArray);
27 27
 
28 28
         static::assertSame($testArray, $access->data());
@@ -69,13 +69,13 @@  discard block
 block discarded – undo
69 69
 
70 70
         static::assertSame(
71 71
             [
72
-             'key1' => [
73
-                 'key2' => [
74
-                     2 => [
75
-                         'key3' => 'the-value',
76
-                     ],
77
-                 ],
78
-             ],
72
+                'key1' => [
73
+                    'key2' => [
74
+                        2 => [
75
+                            'key3' => 'the-value',
76
+                        ],
77
+                    ],
78
+                ],
79 79
             ],
80 80
             $access->data()
81 81
         );
@@ -118,24 +118,24 @@  discard block
 block discarded – undo
118 118
 
119 119
         static::assertSame(
120 120
             [
121
-             'key1' => [
122
-                 'some' => 'some-value',
123
-                 'key2' => [
124
-                     0 => [
125
-                         'key3' => 'the-value-1',
126
-                     ],
127
-                     1 => [
128
-                         'key3' => 'the-value-2',
129
-                     ],
130
-                     2 => [
131
-                         'key3' => 'the-value-3',
132
-                     ],
133
-                     3 => [
134
-                         'key3' => 'the-value-4',
135
-                         'key4' => 'the-value-5',
136
-                     ],
137
-                 ],
138
-             ],
121
+                'key1' => [
122
+                    'some' => 'some-value',
123
+                    'key2' => [
124
+                        0 => [
125
+                            'key3' => 'the-value-1',
126
+                        ],
127
+                        1 => [
128
+                            'key3' => 'the-value-2',
129
+                        ],
130
+                        2 => [
131
+                            'key3' => 'the-value-3',
132
+                        ],
133
+                        3 => [
134
+                            'key3' => 'the-value-4',
135
+                            'key4' => 'the-value-5',
136
+                        ],
137
+                    ],
138
+                ],
139 139
             ],
140 140
             $access->data()
141 141
         );
@@ -250,12 +250,12 @@  discard block
 block discarded – undo
250 250
     public function it_can_return_if_a_path_exists(): void
251 251
     {
252 252
         $testArray = [
253
-             'Foo' => [
254
-                 'Bar' => [
255
-                     'Baz' => 'Buz',
256
-                 ],
257
-             ],
258
-         ];
253
+                'Foo' => [
254
+                    'Bar' => [
255
+                        'Baz' => 'Buz',
256
+                    ],
257
+                ],
258
+            ];
259 259
 
260 260
         $access = ArrayAccess::create($testArray);
261 261
 
@@ -266,9 +266,9 @@  discard block
 block discarded – undo
266 266
         static::assertFalse($access->hasPath('BuzBuz'));
267 267
     }
268 268
 
269
-   /**
270
-    * @test
271
-    */
269
+    /**
270
+     * @test
271
+     */
272 272
     public function it_raises_an_exception_on_not_existing_path(): void
273 273
     {
274 274
         $this->expectException(ArrayAccessFailed::class);
@@ -278,9 +278,9 @@  discard block
 block discarded – undo
278 278
         $access->int('foo', 'bar', 'baz');
279 279
     }
280 280
 
281
-   /**
282
-    * @test
283
-    */
281
+    /**
282
+     * @test
283
+     */
284 284
     public function it_raises_an_exception_on_unknown_method_call(): void
285 285
     {
286 286
         $this->expectException(BadMethodCallException::class);
@@ -325,9 +325,9 @@  discard block
 block discarded – undo
325 325
         static::assertNull($result);
326 326
     }
327 327
 
328
-   /**
329
-    * @test
330
-    */
328
+    /**
329
+     * @test
330
+     */
331 331
     public function it_raises_an_exception_on_value_other_than_null_when_requesting_nullable(): void
332 332
     {
333 333
         $this->expectException(ArrayAccessFailed::class);
@@ -460,9 +460,9 @@  discard block
 block discarded – undo
460 460
         static::assertSame($date, $result);
461 461
     }
462 462
 
463
-   /**
464
-    * @test
465
-    */
463
+    /**
464
+     * @test
465
+     */
466 466
     public function it_works_with_custom_callback(): void
467 467
     {
468 468
         $testArray1 = [
@@ -494,8 +494,8 @@  discard block
 block discarded – undo
494 494
     }
495 495
 
496 496
     /**
497
-    * @test
498
-    */
497
+     * @test
498
+     */
499 499
     public function it_raises_an_exception_on_callback_restriction(): void
500 500
     {
501 501
         $this->expectException(ArrayAccessFailed::class);
@@ -509,15 +509,15 @@  discard block
 block discarded – undo
509 509
             ],
510 510
         ];
511 511
         $customCallback = function ($value) {
512
-          return is_string($value) && in_array($value, ['Allowed value 1', 'Allowed value 2']);
512
+            return is_string($value) && in_array($value, ['Allowed value 1', 'Allowed value 2']);
513 513
         };
514 514
         $access = ArrayAccess::create($testArray);
515 515
         $access->callback($customCallback, 'Foo', 'Bar', 'Baz');
516 516
     }
517 517
 
518
-   /**
519
-    * @test
520
-    */
518
+    /**
519
+     * @test
520
+     */
521 521
     public function it_raises_an_exception_on_object_type_missmatch(): void
522 522
     {
523 523
         $this->expectException(ArrayAccessFailed::class);
@@ -661,9 +661,9 @@  discard block
 block discarded – undo
661 661
         yield ['some', 'Given parameter "string" is not an array'];
662 662
     }
663 663
 
664
-   /**
665
-    * @test
666
-    */
664
+    /**
665
+     * @test
666
+     */
667 667
     public function it_raises_an_exception_on_invalid_method_call(): void
668 668
     {
669 669
         $this->expectException(BadMethodCallException::class);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -479,7 +479,7 @@  discard block
 block discarded – undo
479 479
                 ],
480 480
             ],
481 481
         ];
482
-        $customCallback = function ($value) {
482
+        $customCallback = function($value) {
483 483
             return is_string($value) || is_int($value);
484 484
         };
485 485
 
@@ -508,7 +508,7 @@  discard block
 block discarded – undo
508 508
                 ],
509 509
             ],
510 510
         ];
511
-        $customCallback = function ($value) {
511
+        $customCallback = function($value) {
512 512
           return is_string($value) && in_array($value, ['Allowed value 1', 'Allowed value 2']);
513 513
         };
514 514
         $access = ArrayAccess::create($testArray);
Please login to merge, or discard this patch.