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

@@ 63-84 (lines=22) @@
60
     * @param  string $title The title/subject to use
61
     * @return \Tylercd100\Monolog\Handler\PlivoHandler
62
     */
63
    protected static function plivo(array $config = [], $title = null){
64
        $defaults = [
65
            'level' => Logger::DEBUG,
66
            'bubble' => true,
67
            'useSSL' => true,
68
            'host' => 'api.plivo.com',
69
            'version' => 'v1'
70
        ];
71
72
        $c = array_merge($defaults,$config);
73
74
        return new \Tylercd100\Monolog\Handler\PlivoHandler(
75
            $c['token'],
76
            $c['auth_id'],
77
            $c['from'],
78
            $c['to'],
79
            $c['level'],
80
            $c['bubble'],
81
            $c['useSSL'],
82
            $c['host'],
83
            $c['version']);
84
    }
85
86
    /**
87
     * Returns a TwilioHandler
@@ 92-113 (lines=22) @@
89
     * @param  string $title The title/subject to use
90
     * @return \Tylercd100\Monolog\Handler\TwilioHandler
91
     */
92
    protected static function twilio(array $config = [], $title = null){
93
        $defaults = [
94
            'level' => Logger::DEBUG,
95
            'bubble' => true,
96
            'useSSL' => true,
97
            'host' => 'api.twilio.com',
98
            'version' => '2010-04-01'
99
        ];
100
101
        $c = array_merge($defaults,$config);
102
103
        return new \Tylercd100\Monolog\Handler\TwilioHandler(
104
            $c['secret'],
105
            $c['sid'],
106
            $c['from'],
107
            $c['to'],
108
            $c['level'],
109
            $c['bubble'],
110
            $c['useSSL'],
111
            $c['host'],
112
            $c['version']);
113
    }
114
115
    /**
116
     * Returns a SlackHandler