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 1 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.