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.
Completed
Push — master ( d96e23...3d7113 )
by Brett
03:09
created
src/models/AuditEntrySearch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     static public function routeFilter()
78 78
     {
79
-        $routes = AuditEntry::getDb()->cache(function () {
79
+        $routes = AuditEntry::getDb()->cache(function() {
80 80
             return AuditEntry::find()->distinct(true)
81 81
                 ->select('route')->where(['is not', 'route', null])
82 82
                 ->groupBy('route')->orderBy('route ASC')->column();
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     static public function methodFilter()
91 91
     {
92
-        $methods = AuditEntry::getDb()->cache(function () {
92
+        $methods = AuditEntry::getDb()->cache(function() {
93 93
             return AuditEntry::find()->distinct(true)
94 94
                 ->select('request_method')->where(['is not', 'request_method', null])
95 95
                 ->groupBy('request_method')->orderBy('request_method ASC')->column();
Please login to merge, or discard this patch.
src/models/AuditErrorSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      */
94 94
     static protected function filterData()
95 95
     {
96
-        return AuditEntry::getDb()->cache(function () {
96
+        return AuditEntry::getDb()->cache(function() {
97 97
             return AuditError::find()->distinct(true)
98 98
                 ->select(['hash', 'message', 'file'])->asArray()->all();
99 99
         }, 30);
Please login to merge, or discard this patch.
src/models/AuditJavascriptSearch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     public function typeFilter()
70 70
     {
71
-        $types = AuditJavascript::getDb()->cache(function () {
71
+        $types = AuditJavascript::getDb()->cache(function() {
72 72
             return AuditJavascript::find()->distinct(true)
73 73
                 ->select('type')
74 74
                 ->where(['entry_id' => $this->entry_id])
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function originFilter()
85 85
     {
86
-        $origin = AuditJavascript::getDb()->cache(function () {
86
+        $origin = AuditJavascript::getDb()->cache(function() {
87 87
             return AuditJavascript::find()->distinct(true)
88 88
                 ->select('origin')
89 89
                 ->where(['entry_id' => $this->entry_id])
Please login to merge, or discard this patch.
src/panels/CurlPanel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function getLabel()
63 63
     {
64
-        return $this->getName() . ' <small>(' . count($this->data) . ')</small>';
64
+        return $this->getName().' <small>('.count($this->data).')</small>';
65 65
     }
66 66
 
67 67
     /**
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
         }
138 138
 
139 139
         if ($this->content)
140
-            $this->data[$id]['content']= curl_multi_getcontent($handle);
140
+            $this->data[$id]['content'] = curl_multi_getcontent($handle);
141 141
 
142 142
         // Cleanup empty things
143 143
         $this->data[$id] = array_filter($this->data[$id]);
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
         if (!is_resource($resource))
209 209
             return false;
210 210
 
211
-        $parts = explode('#', (string)$resource);
211
+        $parts = explode('#', (string) $resource);
212 212
         return array_pop($parts);
213 213
     }
214 214
 
Please login to merge, or discard this patch.
src/panels/DbPanel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
     {
30 30
         $timings = $this->calculateTimings();
31 31
         $queryCount = count($timings);
32
-        $queryTime = number_format($this->getTotalQueryTime($timings) * 1000) . ' ms';
33
-        return $this->getName() . ' <small>(' . $queryCount . ' / ' . $queryTime . ')</small>';
32
+        $queryTime = number_format($this->getTotalQueryTime($timings) * 1000).' ms';
33
+        return $this->getName().' <small>('.$queryCount.' / '.$queryTime.')</small>';
34 34
     }
35 35
 
36 36
     /**
Please login to merge, or discard this patch.
src/panels/ErrorPanel.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
             return $entry ? $this->log($entry->id, $e) : null;
30 30
         });
31 31
 
32
-        $this->module->registerFunction('errorMessage', function ($message, $code = 0, $file = '', $line = 0, $trace = []) {
32
+        $this->module->registerFunction('errorMessage', function($message, $code = 0, $file = '', $line = 0, $trace = []) {
33 33
             $entry = $this->module->getEntry(true);
34 34
             return $entry ? $this->logMessage($entry->id, $message, $code, $file, $line, $trace) : null;
35 35
         });
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $error->file        = $exception->getFile();
62 62
         $error->line        = $exception->getLine();
63 63
         $error->trace       = Helper::cleanupTrace($exception->getTrace());
64
-        $error->hash        = Helper::hash($error->message . $error->file . $error->line);
64
+        $error->hash        = Helper::hash($error->message.$error->file.$error->line);
65 65
 
66 66
         $this->_exceptions[] = $exceptionId;
67 67
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $error->file        = $file;
89 89
         $error->line        = $line;
90 90
         $error->trace       = Helper::cleanupTrace($trace);
91
-        $error->hash        = Helper::hash($error->message . $error->file . $error->line);
91
+        $error->hash        = Helper::hash($error->message.$error->file.$error->line);
92 92
         return $error->save(false) ? $error : null;
93 93
     }
94 94
 
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     public function getLabel()
115 115
     {
116
-        return $this->getName() . ' <small>(' . count($this->_model->linkedErrors) . ')</small>';
116
+        return $this->getName().' <small>('.count($this->_model->linkedErrors).')</small>';
117 117
     }
118 118
 
119 119
     /**
Please login to merge, or discard this patch.
src/panels/ExtraDataPanel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function getLabel()
38 38
     {
39
-        return $this->getName() . ' <small>(' . count($this->data) . ')</small>';
39
+        return $this->getName().' <small>('.count($this->data).')</small>';
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.
src/panels/JavascriptPanel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function getLabel()
29 29
     {
30
-        return $this->getName() . ' <small>(' . count($this->_model->javascripts) . ')</small>';
30
+        return $this->getName().' <small>('.count($this->_model->javascripts).')</small>';
31 31
     }
32 32
 
33 33
     /**
Please login to merge, or discard this patch.
src/panels/LogPanel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function getLabel()
22 22
     {
23 23
         $messageCount = isset($this->data['messages']) ? count($this->data['messages']) : 0;
24
-        return $this->getName() . ($messageCount ? ' <small>(' . $messageCount . ')</small>' : '');
24
+        return $this->getName().($messageCount ? ' <small>('.$messageCount.')</small>' : '');
25 25
     }
26 26
 
27 27
     /**
Please login to merge, or discard this patch.