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

src/php/Prose/UsingRuntimeTable.php 1 location

@@ 77-81 (lines=5) @@
74
        $tables = $this->getAllTables();
75
76
        // make sure it exists
77
        if (!isset($tables->$tableName)){
78
            $log->addStep("{$tableName} does not exist in the runtime config. creating empty table", function() use ($tables, $tableName){
79
                $tables->$tableName = new BaseObject();
80
            });
81
        }
82
83
        // make sure we don't have a duplicate entry
84
        if (isset($tables->$tableName->$key)){

src/php/Prose/UsingRuntimeTableForTargetEnvironment.php 1 location

@@ 78-82 (lines=5) @@
75
        $tables = $this->getAllTables();
76
77
        // make sure the table
78
        if (!isset($tables->$tableName)){
79
            $log->addStep("{$tableName} does not exist in the runtime config. creating empty table", function() use ($tables, $tableName){
80
                $tables->$tableName = new BaseObject();
81
            });
82
        }
83
        if (!isset($tables->$tableName->$targetEnv)) {
84
            $log->addStep("{$tableName}->{$targetEnv} does not exist in the runtime config. creating empty table", function() use($tables, $tableName, $targetEnv) {
85
                $tables->$tableName->$targetEnv = new BaseObject();