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.
Passed
Push — master ( 82890f...764f4d )
by
unknown
17:48 queued 05:10
created
src/HoneybadgerLogDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function __invoke(array $config): Logger
13 13
     {
14
-        return tap(new Logger($config['name'] ?? 'honeybadger'), function ($logger) {
14
+        return tap(new Logger($config['name'] ?? 'honeybadger'), function($logger) {
15 15
             $logHandler = App::makeWith(LogHandler::class, [
16 16
                 App::make(Reporter::class),
17 17
                 $config['level'] ?? 'error'
Please login to merge, or discard this patch.
src/HoneybadgerLaravel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
                 'url' => 'https://github.com/honeybadger-io/honeybadger-laravel',
43 43
                 'version' => self::VERSION.'/'.Honeybadger::VERSION,
44 44
             ],
45
-            'service_exception_handler' => function (ServiceException $e) {
45
+            'service_exception_handler' => function(ServiceException $e) {
46 46
                 // Note: If you are using Honeybadger as a Logger, this exception
47 47
                 // can end up being reported to Honeybadger depending on your log level configuration.
48 48
                 Log::warning($e);
Please login to merge, or discard this patch.
src/HoneybadgerServiceProvider.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -51,17 +51,17 @@  discard block
 block discarded – undo
51 51
         $this->registerReporters();
52 52
         $this->registerCheckInsSync();
53 53
 
54
-        $this->app->bind(LogHandler::class, function ($app) {
54
+        $this->app->bind(LogHandler::class, function($app) {
55 55
             return new LogHandler($app[Reporter::class]);
56 56
         });
57 57
 
58
-        $this->app->singleton('honeybadger.isLumen', function () {
58
+        $this->app->singleton('honeybadger.isLumen', function() {
59 59
             return preg_match('/lumen/i', $this->app->version());
60 60
         });
61 61
 
62 62
         $this->app->when(HoneybadgerDeployCommand::class)
63 63
             ->needs(Client::class)
64
-            ->give(function () {
64
+            ->give(function() {
65 65
                 return new Client([
66 66
                     'http_errors' => false,
67 67
                 ]);
@@ -119,8 +119,8 @@  discard block
 block discarded – undo
119 119
     private function registerEventHooks()
120 120
     {
121 121
         /** @param string|array|null $environments */
122
-        Event::macro('thenPingHoneybadger', function (string $checkinIdOrName, $environments = null) {
123
-            return $this->then(function () use ($checkinIdOrName, $environments) {
122
+        Event::macro('thenPingHoneybadger', function(string $checkinIdOrName, $environments = null) {
123
+            return $this->then(function() use ($checkinIdOrName, $environments) {
124 124
                 if ($environments === null || app()->environment($environments)) {
125 125
                     app(Reporter::class)->checkin($checkinIdOrName);
126 126
                 }
@@ -128,8 +128,8 @@  discard block
 block discarded – undo
128 128
         });
129 129
 
130 130
         /** @param string|array|null $environments */
131
-        Event::macro('pingHoneybadgerOnSuccess', function (string $checkinIdOrName, $environments = null) {
132
-            return $this->onSuccess(function () use ($checkinIdOrName, $environments) {
131
+        Event::macro('pingHoneybadgerOnSuccess', function(string $checkinIdOrName, $environments = null) {
132
+            return $this->onSuccess(function() use ($checkinIdOrName, $environments) {
133 133
                 if ($environments === null || app()->environment($environments)) {
134 134
                     app(Reporter::class)->checkin($checkinIdOrName);
135 135
                 }
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     {
142 142
         // Views are not enabled on Lumen by default
143 143
         if (app()->bound('blade.compiler')) {
144
-            Blade::directive('honeybadgerError', function ($options) {
144
+            Blade::directive('honeybadgerError', function($options) {
145 145
                 if ($options === '') {
146 146
                     $options = '[]';
147 147
                 }
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
                 return "<?php echo \$__env->make('honeybadger::informer', $options, $defaults)->render(); ?>";
152 152
             });
153 153
 
154
-            Blade::directive('honeybadgerFeedback', function () {
154
+            Blade::directive('honeybadgerFeedback', function() {
155 155
                 $action = rtrim(Honeybadger::API_URL, '/').'/v1/feedback';
156 156
 
157 157
                 return "<?php echo \$__env->make('honeybadger::feedback', ['action' => '$action'])->render(); ?>";
@@ -186,14 +186,14 @@  discard block
 block discarded – undo
186 186
 
187 187
     protected function registerCheckInsSync(): void
188 188
     {
189
-        $this->app->singleton(SyncCheckIns::class, function ($app) {
189
+        $this->app->singleton(SyncCheckIns::class, function($app) {
190 190
             return new CheckInsManager($app['config']['honeybadger']);
191 191
         });
192 192
     }
193 193
 
194 194
     protected function registerReporters(): void
195 195
     {
196
-        $this->app->singleton(Reporter::class, function ($app) {
196
+        $this->app->singleton(Reporter::class, function($app) {
197 197
             return HoneybadgerLaravel::make($app['config']['honeybadger']);
198 198
         });
199 199
 
@@ -203,9 +203,9 @@  discard block
 block discarded – undo
203 203
         // In some cases (like the test command), we definitely want to throw any errors
204 204
         // Laravel's contextual binding doesn't support method injection,
205 205
         // so the handle() method will have to request this client specifically.
206
-        $this->app->singleton('honeybadger.loud', function ($app) {
206
+        $this->app->singleton('honeybadger.loud', function($app) {
207 207
             $config = $app['config']['honeybadger'];
208
-            $config['service_exception_handler'] = function (ServiceException $e) {
208
+            $config['service_exception_handler'] = function(ServiceException $e) {
209 209
                 throw $e;
210 210
             };
211 211
 
Please login to merge, or discard this patch.
src/Commands/HoneybadgerCheckInsSyncCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $localCheckIns = config('honeybadger.checkins', []);
32 32
         $result = $checkinsManager->sync($localCheckIns);
33 33
         $this->info('Check-ins were synchronized with Honeybadger.');
34
-        $this->table(['Id', 'Name', 'Slug', 'Schedule Type', 'Report Period', 'Cron Schedule', 'Cron Timezone', 'Grace Period', 'Status'], array_map(function ($checkin) {
34
+        $this->table(['Id', 'Name', 'Slug', 'Schedule Type', 'Report Period', 'Cron Schedule', 'Cron Timezone', 'Grace Period', 'Status'], array_map(function($checkin) {
35 35
             return [
36 36
                 $checkin->id,
37 37
                 $checkin->name,
Please login to merge, or discard this patch.