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

applications/workspace/src/BitPrepared/Bundle/D1b0Workspace/Controller/V1/WorkspaceController.php 2 locations

@@ 420-425 (lines=6) @@
417
                array_splice($delete_badge,$rem_id,1); //RIMUOVO GLI ELEMENTI CHE HO MODIFICATO
418
        }
419
420
        foreach($delete_badge as $d){
421
            //RIMUOVO REALMENTE DAL DB LE COSE CHE HO LASCIATO FUORI DALLA PUT (PRESENTI NEL DB MA NON NELLA NUOVA VERSIONE ODIO LE PUT)
422
            $badge = R::load("partbadge",[$d->id]);//FORSE RILOADARLI NON È NECESSARIO
423
            $badge->deleted=true;
424
            R::store($badge);
425
        }
426
427
        $res = ["id"=>$part_id];
428
        $headers = [];
@@ 440-444 (lines=5) @@
437
        //TODO soft delete all the part badge!!
438
439
        $delete_badge=R::findAll("partbadge","WHERE part = ?",[$part_id]);
440
        foreach($delete_badge as $d){
441
            $badge = R::load("partbadge",[$d->id]);//FORSE RILOADARLI NON È NECESSARIO BASTA FARE $d->deleted=true; e store($d)
442
                $badge->deleted=true;
443
            R::store($badge);
444
        }
445
446
        $response = new Response();
447
        $response->headers->set('Content-Type', 'text/html');