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

src/Factories/MonologHandlerFactory.php 2 locations

@@ 148-171 (lines=24) @@
145
     * @param  string $title The title/subject to use
146
     * @return \Tylercd100\Monolog\Handler\PlivoHandler
147
     */
148
    protected static function plivo(array $config = [], $title = null){
149
        $defaults = [
150
            'level' => Logger::DEBUG,
151
            'bubble' => true,
152
            'useSSL' => true,
153
            'host' => 'api.plivo.com',
154
            'version' => 'v1',
155
            'limit' => 160,
156
        ];
157
158
        $c = array_merge($defaults,$config);
159
160
        return new \Tylercd100\Monolog\Handler\PlivoHandler(
161
            $c['token'],
162
            $c['auth_id'],
163
            $c['from'],
164
            $c['to'],
165
            $c['level'],
166
            $c['bubble'],
167
            $c['useSSL'],
168
            $c['host'],
169
            $c['version'],
170
            $c['limit']);
171
    }
172
173
    /**
174
     * Returns a TwilioHandler
@@ 179-202 (lines=24) @@
176
     * @param  string $title The title/subject to use
177
     * @return \Tylercd100\Monolog\Handler\TwilioHandler
178
     */
179
    protected static function twilio(array $config = [], $title = null){
180
        $defaults = [
181
            'level' => Logger::DEBUG,
182
            'bubble' => true,
183
            'useSSL' => true,
184
            'host' => 'api.twilio.com',
185
            'version' => '2010-04-01',
186
            'limit' => 160,
187
        ];
188
189
        $c = array_merge($defaults,$config);
190
191
        return new \Tylercd100\Monolog\Handler\TwilioHandler(
192
            $c['secret'],
193
            $c['sid'],
194
            $c['from'],
195
            $c['to'],
196
            $c['level'],
197
            $c['bubble'],
198
            $c['useSSL'],
199
            $c['host'],
200
            $c['version'],
201
            $c['limit']);
202
    }
203
204
    /**
205
     * Returns a RavenHandler