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

application/backend/controllers/FormController.php 1 location

@@ 112-118 (lines=7) @@
109
                    ]
110
                )->execute();
111
112
                if (!empty($add)) {
113
                    Yii::$app->db->createCommand()->batchInsert(
114
                        ObjectPropertyGroup::tableName(),
115
                        ['property_group_id', 'object_id', 'object_model_id'],
116
                        $add
117
                    )->execute();
118
                }
119
120
                \Yii::$app->session->setFlash('info', Yii::t('app', 'Object saved'));
121
                $returnUrl = Yii::$app->request->get('returnUrl', ['/backend/form/index', 'id' => $model->id]);

application/properties/AbstractModel.php 1 location

@@ 269-276 (lines=8) @@
266
                    $object_id, $object_model_id, $psv_id,
267
                ];
268
            }
269
            if (!empty($rows)) {
270
                Yii::$app->db->createCommand()
271
                    ->batchInsert(
272
                        ObjectStaticValues::tableName(),
273
                        ['object_id', 'object_model_id', 'property_static_value_id'],
274
                        $rows
275
                    )->execute();
276
            }
277
        }
278
        Yii::$app->cache->delete("PSV:".$object_id.":".$object_model_id);
279
        if (count($column_type_updates) > 1) {