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

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