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

src/Factories/MonologHandlerFactory.php 2 locations

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