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

src/php/Storyplayer/SPv2/Modules/ZeroMQ/FromZmqSocket.php 2 locations

@@ 90-106 (lines=17) @@
87
        return $return;
88
    }
89
90
    public function recvNonBlocking()
91
    {
92
        // what are we doing?
93
        $log = Log::usingLog()->startAction("recv() from ZMQ socket");
94
95
        // do it
96
        $return = $this->args[0]->recv(ZMQ::MODE_NOBLOCK);
97
98
        // all done
99
        if ($return === false) {
100
            $log->endAction("receive attempt would have blocked");
101
        }
102
        else {
103
            $log->endAction();
104
        }
105
        return $return;
106
    }
107
108
    public function recvMulti($timeout = null)
109
    {
@@ 137-153 (lines=17) @@
134
        return $return;
135
    }
136
137
    public function recvMultiNonBlocking()
138
    {
139
        // what are we doing?
140
        $log = Log::usingLog()->startAction("recvmulti() from ZMQ socket");
141
142
        // do it
143
        $return = $this->args[0]->recvmulti(ZMQ::MODE_NOBLOCK);
144
145
        // all done
146
        if ($return === false) {
147
            $log->endAction("receive attempt would have blocked");
148
        }
149
        else {
150
            $log->endAction();
151
        }
152
        return $return;
153
    }
154
155
    public function getEndpoints()
156
    {

src/php/Storyplayer/SPv2/Modules/ZeroMQ/UsingZmqSocket.php 1 location

@@ 252-268 (lines=17) @@
249
        $log->endAction();
250
    }
251
252
    public function sendMultiNonBlocking($message)
253
    {
254
        // what are we doing?
255
        $log = Log::usingLog()->startAction("sendMultiNonBlocking() to ZMQ socket");
256
257
        // do it
258
        $sent = $this->args[0]->sendmulti($message, ZMQ::MODE_NOBLOCK);
259
260
        // all done
261
        if ($sent) {
262
            $log->endAction("message sent");
263
        }
264
        else {
265
            $log->endAction("message not sent");
266
        }
267
        return $sent;
268
    }
269
}
270

src/php/StoryplayerInternals/SPv2/Modules/RuntimeTable/FromRuntimeTables.php 1 location

@@ 88-104 (lines=17) @@
85
     *         TRUE if the table exists
86
     *         FALSE otherwise
87
     */
88
    public function getTableExists($tableName)
89
    {
90
        // what are we doing?
91
        $log = Log::usingLog()->startAction("does the runtime table '{$tableName}' exist?");
92
93
        // get the active tables
94
        $tables = $this->getAllTablesSilently();
95
96
        // does our table exist?
97
        if (isset($tables->{$tableName})) {
98
            $log->endAction("it exists");
99
            return true;
100
        }
101
102
        $log->endAction("it does not exist");
103
        return false;
104
    }
105
106
    /**
107
     * return the current runtime tables, without writing to the log