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.
Completed
Push — master ( 796de0...1e3025 )
by Sergey
22s queued 10s
created
src/Decoders/DataParser.php 2 patches
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -158,6 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
     /**
160 160
      * @inheritdoc
161
+     * @param string $path
161 162
      */
162 163
     public function parseString($data, $path)
163 164
     {
@@ -182,6 +183,7 @@  discard block
 block discarded – undo
182 183
 
183 184
     /**
184 185
      * @inheritdoc
186
+     * @param string $path
185 187
      */
186 188
     public function parseInt($data, $path)
187 189
     {
@@ -190,6 +192,7 @@  discard block
 block discarded – undo
190 192
 
191 193
     /**
192 194
      * @inheritdoc
195
+     * @param string $path
193 196
      */
194 197
     public function parseFloat($data, $path)
195 198
     {
@@ -215,6 +218,7 @@  discard block
 block discarded – undo
215 218
 
216 219
     /**
217 220
      * @inheritdoc
221
+     * @param string $path
218 222
      */
219 223
     public function parseCallback($data, $path, $callback)
220 224
     {
@@ -232,6 +236,7 @@  discard block
 block discarded – undo
232 236
 
233 237
     /**
234 238
      * @inheritdoc
239
+     * @param string $path
235 240
      */
236 241
     public function parseBool($data, $path)
237 242
     {
@@ -290,6 +295,7 @@  discard block
 block discarded – undo
290 295
 
291 296
     /**
292 297
      * @inheritdoc
298
+     * @param string $path
293 299
      */
294 300
     public function parseArray($data, $path, \Closure $itemsParser)
295 301
     {
@@ -345,6 +351,8 @@  discard block
 block discarded – undo
345 351
 
346 352
     /**
347 353
      * @inheritdoc
354
+     * @param string $path
355
+     * @param string $resType
348 356
      */
349 357
     public function parseResource($data, $path, $resType, $loader = null)
350 358
     {
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -687,7 +687,7 @@  discard block
 block discarded – undo
687 687
                 return $this->parseArray(
688 688
                     $data,
689 689
                     $path,
690
-                    function ($data, $path, DataParser $parser) use ($typeParams) {
690
+                    function($data, $path, DataParser $parser) use ($typeParams) {
691 691
                         return $parser->parseScalarValue($data, $path, $typeParams);
692 692
                     }
693 693
                 );
@@ -697,7 +697,7 @@  discard block
 block discarded – undo
697 697
                 return $this->parseArray(
698 698
                     $data,
699 699
                     $path,
700
-                    function ($data, $path, DataParser $parser) use ($format) {
700
+                    function($data, $path, DataParser $parser) use ($format) {
701 701
                         return $parser->parseDateTime($data, $path, $format);
702 702
                     }
703 703
                 );
@@ -706,7 +706,7 @@  discard block
 block discarded – undo
706 706
                 return $this->parseArray(
707 707
                     $data,
708 708
                     $path,
709
-                    function ($data, $path, DataParser $parser) use ($typeParams, $propMetadata) {
709
+                    function($data, $path, DataParser $parser) use ($typeParams, $propMetadata) {
710 710
                         return $parser->parseResourceOrObject($data, $path, $typeParams, $propMetadata);
711 711
                     }
712 712
                 );
@@ -715,7 +715,7 @@  discard block
 block discarded – undo
715 715
                 return $this->parseArray(
716 716
                     $data,
717 717
                     $path,
718
-                    function ($data, $path, DataParser $parser) use ($typeParams, $propMetadata) {
718
+                    function($data, $path, DataParser $parser) use ($typeParams, $propMetadata) {
719 719
                         return $parser->parseArrayValue($data, $path, $typeParams, $propMetadata);
720 720
                     }
721 721
                 );
@@ -724,7 +724,7 @@  discard block
 block discarded – undo
724 724
                 return $this->parseArray(
725 725
                     $data,
726 726
                     $path,
727
-                    function ($data, $path, DataParser $parser) {
727
+                    function($data, $path, DataParser $parser) {
728 728
                         return $parser->parseRaw($data, $path);
729 729
                     }
730 730
                 );
@@ -933,14 +933,14 @@  discard block
 block discarded – undo
933 933
     private function parseArrayRelationship($data, $pathValue, PropertyMetadataInterface $relationship)
934 934
     {
935 935
 
936
-        $data = $this->parseArray($data, $relationship->getDataPath(), function ($data, $path) use ($relationship) {
936
+        $data = $this->parseArray($data, $relationship->getDataPath(), function($data, $path) use ($relationship) {
937 937
             $resType = null;
938 938
             if ($this->hasValue($data, $path . '.type')) {
939 939
                 $resType = $this->parseString($data, $path . '.type');
940 940
             }
941 941
 
942 942
             $resId = null;
943
-            if ($this->hasValue($data, $path .'.id')) {
943
+            if ($this->hasValue($data, $path . '.id')) {
944 944
                 $resId = $this->getValue($data, $path . '.id');
945 945
             }
946 946
 
@@ -962,7 +962,7 @@  discard block
 block discarded – undo
962 962
 
963 963
                 $parsed = $this->parseResourceOrObject(
964 964
                     [$idx => $linkedData],
965
-                    '[' . $idx .']',
965
+                    '[' . $idx . ']',
966 966
                     $params[1],
967 967
                     $relationship
968 968
                 );
@@ -1007,7 +1007,7 @@  discard block
 block discarded – undo
1007 1007
             return;
1008 1008
         }
1009 1009
 
1010
-        $errors = $this->parseArray($data, 'errors', function ($data, $path, DataParser $parser) {
1010
+        $errors = $this->parseArray($data, 'errors', function($data, $path, DataParser $parser) {
1011 1011
             $source = null;
1012 1012
             if ($this->hasValue($data, $path . '.source.pointer')) {
1013 1013
                 $source = ['pointer' => $this->parseString($data, $path . '.source.pointer')];
Please login to merge, or discard this patch.