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

application/models/PropertyStaticValues.php 2 locations

@@ 300-315 (lines=16) @@
297
            foreach ($allSelections as $index => $selection) {
298
                $allSelections[$index]['active'] = in_array($selection['id'], $selected);
299
            }
300
            if (null !== $allSelections) {
301
                Yii::$app->cache->set(
302
                    $cacheKey,
303
                    $allSelections,
304
                    0,
305
                    new TagDependency(
306
                        [
307
                            'tags' => [
308
                                ActiveRecordHelper::getCommonTag(PropertyStaticValues::className()),
309
                                ActiveRecordHelper::getCommonTag(Property::className()),
310
                            ]
311
312
                        ]
313
                    )
314
                );
315
            }
316
        }
317
        return $allSelections;
318
    }
@@ 354-369 (lines=16) @@
351
                    'name' => SORT_ASC
352
                ]
353
            )->asArray()->all();
354
            if (null !== $values) {
355
                Yii::$app->cache->set(
356
                    $cacheKey,
357
                    $values,
358
                    0,
359
                    new TagDependency(
360
                        [
361
                            'tags' => [
362
                                ActiveRecordHelper::getCommonTag(PropertyStaticValues::className()),
363
                                ActiveRecordHelper::getCommonTag(Property::className()),
364
                            ]
365
366
                        ]
367
                    )
368
                );
369
            }
370
        }
371
        return $values;
372
    }