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

src/Utils/AnnotationParams.php 2 locations

@@ 77-80 (lines=4) @@
74
    {
75
        $found = [];
76
        $todo = substr($text,$pos);
77
        if(!preg_match('/\S/', $todo, $found, PREG_OFFSET_CAPTURE) ||
78
            count($found)==0){
79
            return false;
80
        }
81
        list($chars, $offset) = $found[0];
82
        $this->prePos = $pos + $offset;
83
        $next = 'stateNormal';
@@ 112-115 (lines=4) @@
109
110
        $found = [];
111
        $todo = substr($text,$pos);
112
        if(!preg_match('/[\\\\"]/', $todo, $found, PREG_OFFSET_CAPTURE) ||
113
            count($found)==0){
114
            return false;
115
        }
116
        list($chars, $offset) = $found[0];
117
        if($chars == '\\'){
118
            return $pos+$offset+2;