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

application/modules/installer/controllers/InstallerController.php 1 location

@@ 102-114 (lines=13) @@
99
        );
100
    }
101
102
    private function getDbConfigFromSession()
103
    {
104
        return Yii::$app->session->get('db-config', [
105
            'db_host' => 'localhost',
106
            'db_name' => 'dotplant2',
107
            'username' => 'root',
108
            'password' => '',
109
            'enableSchemaCache' => true,
110
            'schemaCacheDuration' => 86400,
111
            'schemaCache' => 'cache',
112
            'connectionOk' => false,
113
        ]);
114
    }
115
116
    public function actionMigrate()
117
    {

application/modules/installer/commands/InstallController.php 1 location

@@ 221-233 (lines=13) @@
218
        return $this->db;
219
    }
220
221
    private function getDbConfigFromSession()
222
    {
223
        return Yii::$app->session->get('db-config', [
224
            'db_host' => 'localhost',
225
            'db_name' => 'dotplant2',
226
            'username' => 'root',
227
            'password' => '',
228
            'enableSchemaCache' => true,
229
            'schemaCacheDuration' => 86400,
230
            'schemaCache' => 'cache',
231
            'connectionOk' => false,
232
        ]);
233
    }
234
}
235