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

application/modules/data/components/Import.php 2 locations

@@ 301-307 (lines=7) @@
298
299
        $result['fields_object'] = $data_header = ($this->_processInternalId)? array_merge($fields_object, ['internal_id']) : $fields_object;
300
301
        $result['fields_property'] = array_filter($fields_property, function($input) use (&$data_header) {
302
            if (1 == $input['enabled']) {
303
                $data_header[] = $input['key'];
304
                return true;
305
            }
306
            return false;
307
        });
308
309
        $result['fields_additional'] = array_filter($fields_additional, function($input) use (&$data_header) {
310
            if (1 == $input['enabled']) {
@@ 309-315 (lines=7) @@
306
            return false;
307
        });
308
309
        $result['fields_additional'] = array_filter($fields_additional, function($input) use (&$data_header) {
310
            if (1 == $input['enabled']) {
311
                $data_header[] = $input['key'];
312
                return true;
313
            }
314
            return false;
315
        });
316
317
        $result['fields_header'] = Yii::$container->invoke($this->_dataHeaderProcessor,['dh'=>$data_header]);
318