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

src/ApnChannel.php 1 location

@@ 116-123 (lines=8) @@
113
     *
114
     * @throws \NotificationChannels\Apn\Exceptions\ConnectionFailed
115
     */
116
    private function openConnection()
117
    {
118
        try {
119
            $this->client->open($this->environment, $this->certificate, $this->passPhrase);
120
        } catch (Exception $exception) {
121
            throw Exceptions\ConnectionFailed::create($exception);
122
        }
123
    }
124
125
    /**
126
     * Close the connection.

src/FeedbackService.php 1 location

@@ 78-85 (lines=8) @@
75
     * @return void
76
     * @throws \NotificationChannels\Apn\Exception\ConnectionFailed
77
     */
78
    protected function openConnection()
79
    {
80
        try {
81
            $this->client->open($this->environment, $this->certificate, $this->passPhrase);
82
        } catch (Exception $exception) {
83
            throw ConnectionFailed::create($exception);
84
        }
85
    }
86
87
    /**
88
     * Fetch the feedback from APNS and collect our feedback object.