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

tests/WorkflowEmbargoExpiryTest.php 4 locations

@@ 253-261 (lines=9) @@
250
     *
251
     * No jobs should be created, invalid option
252
     */
253
    public function testPastEmbargoAfterExpiry()
254
    {
255
        $page = $this->objFromFixture(SiteTree::class, 'pastEmbargoAfterExpiry');
256
257
        $page = $this->finishWorkflow($page);
258
259
        $this->assertEquals(0, $page->PublishJobID);
260
        $this->assertEquals(0, $page->UnPublishJobID);
261
    }
262
263
    /**
264
     * Test for embargo after expiry in the future
@@ 268-276 (lines=9) @@
265
     *
266
     * No jobs should be created, invalid option
267
     */
268
    public function testFutureEmbargoAfterExpiry()
269
    {
270
        $page = $this->objFromFixture(SiteTree::class, 'futureEmbargoAfterExpiry');
271
272
        $page = $this->finishWorkflow($page);
273
274
        $this->assertEquals(0, $page->PublishJobID);
275
        $this->assertEquals(0, $page->UnPublishJobID);
276
    }
277
278
    /**
279
     * Test for embargo and expiry in the past, both have the same value
@@ 283-291 (lines=9) @@
280
     *
281
     * No jobs should be created, invalid option
282
     */
283
    public function testPastSameEmbargoExpiry()
284
    {
285
        $page = $this->objFromFixture(SiteTree::class, 'pastSameEmbargoExpiry');
286
287
        $page = $this->finishWorkflow($page);
288
289
        $this->assertEquals(0, $page->PublishJobID);
290
        $this->assertEquals(0, $page->UnPublishJobID);
291
    }
292
293
    /**
294
     * Test for embargo and expiry in the future, both have the same value
@@ 298-306 (lines=9) @@
295
     *
296
     * No jobs should be created, invalid option
297
     */
298
    public function testFutureSameEmbargoExpiry()
299
    {
300
        $page = $this->objFromFixture(SiteTree::class, 'futureSameEmbargoExpiry');
301
302
        $page = $this->finishWorkflow($page);
303
304
        $this->assertEquals(0, $page->PublishJobID);
305
        $this->assertEquals(0, $page->UnPublishJobID);
306
    }
307
308
    /**
309
     * When an item is queued for publishing or unpublishing and new dates are entered