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 ( ef5122...a9751c )
by Ash
02:48
created
src/Helpers.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@  discard block
 block discarded – undo
4 4
 use Illuminate\Support\Carbon;
5 5
 use MongoDB\BSON\UTCDateTime;
6 6
 
7
-if (! function_exists('analytics')) {
7
+if (!function_exists('analytics')) {
8 8
     function analytics(): APAnalytics
9 9
     {
10 10
         return app(APAnalytics::class);
11 11
     }
12 12
 }
13 13
 
14
-if (! function_exists('trackEvent')) {
14
+if (!function_exists('trackEvent')) {
15 15
     /**
16 16
      * Access event dispatch of event tracker direct.
17 17
      * @param mixed      $event
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     }
27 27
 }
28 28
 
29
-if (! function_exists('showEvents')) {
29
+if (!function_exists('showEvents')) {
30 30
     /**
31 31
      * Access event dispatch of event tracker direct.
32 32
      * @param mixed      $event
@@ -43,14 +43,14 @@  discard block
 block discarded – undo
43 43
     }
44 44
 }
45 45
 
46
-if (! function_exists('is_countable')) {
46
+if (!function_exists('is_countable')) {
47 47
     function is_countable($c)
48 48
     {
49 49
         return is_array($c) || $c instanceof Countable;
50 50
     }
51 51
 }
52 52
 
53
-if (! function_exists('mongoTime')) {
53
+if (!function_exists('mongoTime')) {
54 54
     /**
55 55
      * Returns time in MongoDb Time.
56 56
      * @param null|mixed $time
Please login to merge, or discard this patch.
src/APAnalyticsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
         //$this->app->register(APAnalyticsEventServiceProvider::class);
25 25
 
26
-        $this->app->singleton('apanalytics', function () {
26
+        $this->app->singleton('apanalytics', function() {
27 27
             return new APAnalytics();
28 28
         });
29 29
     }
Please login to merge, or discard this patch.
src/APAnalytics.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
         $model = $this->namespace.studly_case(str_singular($collection)).'Analytic';
62 62
 
63
-        if (! class_exists($model)) {
63
+        if (!class_exists($model)) {
64 64
             throw new InvalidArgumentException("Model {$model} does not exist.");
65 65
         }
66 66
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
         $data = DB::connection($this->connection)
112 112
                 ->collection($collection)
113
-                ->raw(function ($collection) use ($matchArray, $interval, $aggregate) {
113
+                ->raw(function($collection) use ($matchArray, $interval, $aggregate) {
114 114
                     if ($interval == 'count') {
115 115
                         return $collection->count($matchArray);
116 116
                     }
@@ -137,11 +137,11 @@  discard block
 block discarded – undo
137 137
      */
138 138
     private function toModels($data, $model = null)
139 139
     {
140
-        if (! $model) {
140
+        if (!$model) {
141 141
             $model = '\Jenssegers\Mongodb\Eloquent\Model';
142 142
         }
143 143
 
144
-        if (! class_exists($model)) {
144
+        if (!class_exists($model)) {
145 145
             throw new InvalidArgumentException("Model {$model} does not exist.");
146 146
         }
147 147
 
Please login to merge, or discard this patch.