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

@@ 103-126 (lines=24) @@
100
     * @param  string $title The title/subject to use
101
     * @return \Tylercd100\Monolog\Handler\PlivoHandler
102
     */
103
    protected static function plivo(array $config = [], $title = null){
104
        $defaults = [
105
            'level' => Logger::DEBUG,
106
            'bubble' => true,
107
            'useSSL' => true,
108
            'host' => 'api.plivo.com',
109
            'version' => 'v1',
110
            'limit' => 160,
111
        ];
112
113
        $c = array_merge($defaults,$config);
114
115
        return new \Tylercd100\Monolog\Handler\PlivoHandler(
116
            $c['token'],
117
            $c['auth_id'],
118
            $c['from'],
119
            $c['to'],
120
            $c['level'],
121
            $c['bubble'],
122
            $c['useSSL'],
123
            $c['host'],
124
            $c['version'],
125
            $c['limit']);
126
    }
127
128
    /**
129
     * Returns a TwilioHandler
@@ 134-157 (lines=24) @@
131
     * @param  string $title The title/subject to use
132
     * @return \Tylercd100\Monolog\Handler\TwilioHandler
133
     */
134
    protected static function twilio(array $config = [], $title = null){
135
        $defaults = [
136
            'level' => Logger::DEBUG,
137
            'bubble' => true,
138
            'useSSL' => true,
139
            'host' => 'api.twilio.com',
140
            'version' => '2010-04-01',
141
            'limit' => 160,
142
        ];
143
144
        $c = array_merge($defaults,$config);
145
146
        return new \Tylercd100\Monolog\Handler\TwilioHandler(
147
            $c['secret'],
148
            $c['sid'],
149
            $c['from'],
150
            $c['to'],
151
            $c['level'],
152
            $c['bubble'],
153
            $c['useSSL'],
154
            $c['host'],
155
            $c['version'],
156
            $c['limit']);
157
    }
158
159
    /**
160
     * Returns a SlackHandler