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

app/core/components/SecurityComponent.php 2 locations

@@ 187-190 (lines=4) @@
184
            $exclude[] = 'submit';
185
        }
186
187
        if($this->request->countData($exclude) !== count($config['fields'])){
188
            Logger::log("Form Tampering", "User: ". Session::getUserId() ." is tampering the form with invalid number of fields", __FILE__, __LINE__);
189
            return false;
190
        }
191
192
        foreach($config['fields'] as $field){
193
@@ 194-197 (lines=4) @@
191
192
        foreach($config['fields'] as $field){
193
194
            if(!array_key_exists($field, $this->request->data)){
195
                Logger::log("Form Tampering", "User: ". Session::getUserId() ." is tampering the form with invalid fields", __FILE__, __LINE__);
196
                return false;
197
            }
198
        }
199
200
        // by default, validate csrf token as well.