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 = 5-7 lines in 3 locations

src/Converter/JsonConverter.php 3 locations

@@ 200-206 (lines=7) @@
197
            $data[JSONConstants::JSON_REPINFO_CHANGES_ON_TYPE] = $types;
198
        }
199
200
        if (isset($data[JSONConstants::JSON_REPINFO_EXTENDED_FEATURES])
201
            && is_array($data[JSONConstants::JSON_REPINFO_EXTENDED_FEATURES])
202
        ) {
203
            $data[JSONConstants::JSON_REPINFO_EXTENDED_FEATURES] = $this->convertExtensionFeatures(
204
                $data[JSONConstants::JSON_REPINFO_EXTENDED_FEATURES]
205
            );
206
        }
207
208
        if (isset($data[JSONConstants::JSON_REPINFO_CMIS_VERSION_SUPPORTED])) {
209
            $data[JSONConstants::JSON_REPINFO_CMIS_VERSION_SUPPORTED] = CmisVersion::cast(
@@ 933-937 (lines=5) @@
930
            }
931
        }
932
933
        if (isset($data[JSONConstants::JSON_OBJECT_RENDITIONS])
934
            && is_array($data[JSONConstants::JSON_OBJECT_RENDITIONS])
935
        ) {
936
            $object->setRenditions($this->convertRenditions($data[JSONConstants::JSON_OBJECT_RENDITIONS]));
937
        }
938
939
        $object->setExtensions($this->convertExtension($data, JSONConstants::getObjectKeys()));
940
@@ 1671-1677 (lines=7) @@
1668
                }
1669
            }
1670
1671
            if (isset($itemData[JSONConstants::JSON_TYPESCONTAINER_CHILDREN])
1672
                && is_array($itemData[JSONConstants::JSON_TYPESCONTAINER_CHILDREN])
1673
            ) {
1674
                $container->setChildren(
1675
                    $this->convertTypeDescendants($itemData[JSONConstants::JSON_TYPESCONTAINER_CHILDREN])
1676
                );
1677
            }
1678
1679
            $container->setExtensions($this->convertExtension($data, JSONConstants::getTypesContainerKeys()));
1680