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 ( 92e6bc...15bf12 )
by
unknown
12:28 queued 12s
created
Category
src/Middleware/HoneybadgerContext.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     {
51 51
         $routeDetails = app()->router->getRoutes()[$request->method().$request->getPathInfo()]['action'];
52 52
 
53
-        if (! isset($routeDetails['uses']) && ! empty($routeDetails[0])) {
53
+        if (!isset($routeDetails['uses']) && !empty($routeDetails[0])) {
54 54
             $this->honeybadger->setComponent(get_class($routeDetails[0]));
55 55
 
56 56
             return;
@@ -58,11 +58,11 @@  discard block
 block discarded – undo
58 58
 
59 59
         $routeAction = explode('@', $routeDetails['uses']);
60 60
 
61
-        if (! empty($routeAction[0])) {
61
+        if (!empty($routeAction[0])) {
62 62
             $this->honeybadger->setComponent($routeAction[0] ?? '');
63 63
         }
64 64
 
65
-        if (! empty($routeAction[1])) {
65
+        if (!empty($routeAction[1])) {
66 66
             $this->honeybadger->setAction($routeAction[1] ?? '');
67 67
         }
68 68
     }
@@ -72,11 +72,11 @@  discard block
 block discarded – undo
72 72
         if (Route::getCurrentRoute()) {
73 73
             $routeAction = explode('@', Route::getCurrentRoute()->getActionName());
74 74
 
75
-            if (! empty($routeAction[0])) {
75
+            if (!empty($routeAction[0])) {
76 76
                 $this->honeybadger->setComponent($routeAction[0] ?? '');
77 77
             }
78 78
 
79
-            if (! empty($routeAction[1])) {
79
+            if (!empty($routeAction[1])) {
80 80
                 $this->honeybadger->setAction($routeAction[1] ?? '');
81 81
             }
82 82
         }
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
                 Log::error($e);
47 47
             },
48 48
         ], $config));
Please login to merge, or discard this patch.
config/honeybadger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     /**
17 17
      * To disable exception reporting, set this to false.
18 18
      */
19
-    'report_data' => ! in_array(env('APP_ENV'), ['local', 'testing']),
19
+    'report_data' => !in_array(env('APP_ENV'), ['local', 'testing']),
20 20
 
21 21
     /**
22 22
      * When reporting an exception, we'll automatically include relevant environment variables.
Please login to merge, or discard this patch.