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

tests/Session/SessionManagerTest.php 2 locations

@@ 71-86 (lines=16) @@
68
        $this->assertNull($manager->getUsername());
69
    }
70
71
    public function testStore(): void
72
    {
73
        $facebookSession = new FacebookSession('4711', 'YourName', 'YourToken', new DateTime());
74
75
        /** @var ObjectProphecy&Session $session */
76
        $session = $this->prophesize(Session::class);
77
        $session->set('_CORE23_FACEBOOK_ID', '4711')->shouldBeCalled();
78
        $session->set('_CORE23_FACEBOOK_NAME', 'YourName')->shouldBeCalled();
79
        $session->set('_CORE23_FACEBOOK_TOKEN', 'YourToken')->shouldBeCalled();
80
        $session->set('_CORE23_FACEBOOK_EXPIRES', Argument::type(DateTime::class))->shouldBeCalled();
81
82
        $manager = new SessionManager($session->reveal());
83
        $manager->store($facebookSession);
84
85
        $this->assertTrue(true);
86
    }
87
88
    public function testStoreWithNoExpiryDate(): void
89
    {
@@ 88-103 (lines=16) @@
85
        $this->assertTrue(true);
86
    }
87
88
    public function testStoreWithNoExpiryDate(): void
89
    {
90
        $facebookSession = new FacebookSession('4711', 'YourName', 'YourToken', null);
91
92
        /** @var ObjectProphecy&Session $session */
93
        $session = $this->prophesize(Session::class);
94
        $session->set('_CORE23_FACEBOOK_ID', '4711')->shouldBeCalled();
95
        $session->set('_CORE23_FACEBOOK_NAME', 'YourName')->shouldBeCalled();
96
        $session->set('_CORE23_FACEBOOK_TOKEN', 'YourToken')->shouldBeCalled();
97
        $session->set('_CORE23_FACEBOOK_EXPIRES', Argument::is(null))->shouldBeCalled();
98
99
        $manager = new SessionManager($session->reveal());
100
        $manager->store($facebookSession);
101
102
        $this->assertTrue(true);
103
    }
104
105
    public function testClear(): void
106
    {