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 = 12-15 lines in 4 locations

src/php/Prose/UsingProvisioningDefinition.php 1 location

@@ 75-87 (lines=13) @@
72
        }
73
    }
74
75
    public function addHost($hostId)
76
    {
77
        // what are we doing?
78
        $log = usingLog()->startAction("add host '{$hostId}' to provisioning definition");
79
80
        // create the host
81
        if (!isset($this->args[0]->$hostId)) {
82
            $this->args[0]->$hostId = new BaseObject();
83
        }
84
85
        // all done
86
        $log->endAction();
87
    }
88
89
    public function addRole($roleName)
90
    {

src/php/Storyplayer/SPv2/Modules/Host/FromHost.php 3 locations

@@ 155-166 (lines=12) @@
152
     *
153
     * @return string
154
     */
155
    public function getIpAddress()
156
    {
157
        // what are we doing?
158
        $log = usingLog()->startAction("get IP address of host '{$this->args[0]}'");
159
160
        // make sure we have valid host details
161
        $hostDetails = $this->getHostDetails();
162
163
        // all done
164
        $log->endAction("IP address is '{$hostDetails->ipAddress}'");
165
        return $hostDetails->ipAddress;
166
    }
167
168
    /**
169
     * @param  string $packageName
@@ 273-287 (lines=15) @@
270
    /**
271
     * @return string
272
     */
273
    public function getSshUsername()
274
    {
275
        // what are we doing?
276
        $log = usingLog()->startAction("get username to use with SSH to host '{$this->args[0]}'");
277
278
        // make sure we have valid host details
279
        $hostDetails = $this->getHostDetails();
280
281
        // get the information
282
        $return = $hostDetails->sshUsername;
283
284
        // all done
285
        $log->endAction("username is '{$return}'");
286
        return $return;
287
    }
288
289
    /**
290
     * @return string
@@ 292-306 (lines=15) @@
289
    /**
290
     * @return string
291
     */
292
    public function getSshKeyFile()
293
    {
294
        // what are we doing?
295
        $log = usingLog()->startAction("get key file to use with SSH to host '{$this->args[0]}'");
296
297
        // make sure we have valid host details
298
        $hostDetails = $this->getHostDetails();
299
300
        // get the information
301
        $return = $hostDetails->sshKeyFile;
302
303
        // all done
304
        $log->endAction("key file is '{$return}'");
305
        return $return;
306
    }
307
308
    /**
309
     * @param  string $sessionName