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.

Code Duplication    Length = 12-18 lines in 2 locations

src/Decoders/DataParser.php 2 locations

@@ 915-926 (lines=12) @@
912
        }
913
914
915
        if (null !== ($linkedData = $this->context->getLinkedData($resType, $resId))) {
916
            $idx = $this->context->getLinkedDataIndex($resType, $resId);
917
            $prevPath = $this->path;
918
919
            $this->initPathStack();
920
            $this->setPath('included')->setPath($idx);
921
922
            $this->parseProperty([$idx => $linkedData], $pathValue, $relationship, '[' . $idx . ']');
923
            $this->path = $prevPath;
924
925
            return;
926
        }
927
928
        $this->parseProperty($data, $pathValue, $relationship);
929
    }
@@ 960-977 (lines=18) @@
957
958
            $params = $relationship->getDataTypeParams();
959
960
            if (null !== ($linkedData = $this->context->getLinkedData($resType, $resId))) {
961
                $idx = $this->context->getLinkedDataIndex($resType, $resId);
962
963
                $prevPath = $this->path;
964
                $this->initPathStack();
965
                $this->setPath('included')->setPath($idx);
966
967
                $parsed = $this->parseResourceOrObject(
968
                    [$idx => $linkedData],
969
                    '[' . $idx .']',
970
                    $params[1],
971
                    $relationship
972
                );
973
974
                $this->path = $prevPath;
975
976
                return $parsed;
977
            }
978
979
            return $this->parseResourceOrObject($data, $path, $params[1], $relationship);
980
        });