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 = 23-23 lines in 2 locations

src/Bindings/Browser/ObjectService.php 2 locations

@@ 278-300 (lines=23) @@
275
     * @return string|null Returns the new object id or <code>null</code> if the repository sent an empty
276
     *      result (which should not happen)
277
     */
278
    public function createFolder(
279
        $repositoryId,
280
        PropertiesInterface $properties,
281
        $folderId,
282
        array $policies = [],
283
        AclInterface $addAces = null,
284
        AclInterface $removeAces = null,
285
        ExtensionDataInterface $extension = null
286
    ) {
287
        $url = $this->getObjectUrl($repositoryId, $folderId);
288
        $queryArray = $this->createQueryArray(
289
            Constants::CMISACTION_CREATE_FOLDER,
290
            $properties,
291
            $policies,
292
            $addAces,
293
            $removeAces,
294
            $extension
295
        );
296
297
        $newObject = $this->getJsonConverter()->convertObject((array) $this->postJson($url, $queryArray));
298
299
        return ($newObject === null) ? null : $newObject->getId();
300
    }
301
302
    /**
303
     * Creates an item object of the specified type (given by the cmis:objectTypeId property).
@@ 391-413 (lines=23) @@
388
     * @return string|null Returns the new item id of the relationship object or <code>null</code> if the repository
389
     *      sent an empty result (which should not happen)
390
     */
391
    public function createRelationship(
392
        $repositoryId,
393
        PropertiesInterface $properties,
394
        array $policies = [],
395
        AclInterface $addAces = null,
396
        AclInterface $removeAces = null,
397
        ExtensionDataInterface $extension = null
398
    ) {
399
        $url = $this->getRepositoryUrl($repositoryId);
400
401
        $queryArray = $this->createQueryArray(
402
            Constants::CMISACTION_CREATE_RELATIONSHIP,
403
            $properties,
404
            $policies,
405
            $addAces,
406
            $removeAces,
407
            $extension
408
        );
409
410
        $newObject = $this->getJsonConverter()->convertObject((array) $this->postJson($url, $queryArray));
411
412
        return ($newObject === null) ? null : $newObject->getId();
413
    }
414
415
    /**
416
     * Deletes the content stream for the specified document object.