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 ( f92a7f...7a9465 )
by Brett
17:02 queued 04:26
created
src/panels/RequestPanel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,9 +63,9 @@
 block discarded – undo
63 63
     {
64 64
         if (Yii::$app->requestedAction) {
65 65
             if (Yii::$app->requestedAction instanceof InlineAction) {
66
-                return get_class(Yii::$app->requestedAction->controller) . '::' . Yii::$app->requestedAction->actionMethod . '()';
66
+                return get_class(Yii::$app->requestedAction->controller).'::'.Yii::$app->requestedAction->actionMethod.'()';
67 67
             }
68
-            return get_class(Yii::$app->requestedAction) . '::run()';
68
+            return get_class(Yii::$app->requestedAction).'::run()';
69 69
         }
70 70
         return null;
71 71
     }
Please login to merge, or discard this patch.
src/panels/TrailPanel.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function getLabel()
37 37
     {
38
-        return $this->getName() . ' <small>(' . count($this->_model->trails) . ')</small>';
38
+        return $this->getName().' <small>('.count($this->_model->trails).')</small>';
39 39
     }
40 40
 
41 41
     /**
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,9 @@
 block discarded – undo
87 87
     public function cleanup($maxAge = null)
88 88
     {
89 89
         $maxAge = $maxAge !== null ? $maxAge : $this->maxAge;
90
-        if ($maxAge === null)
91
-            return false;
90
+        if ($maxAge === null) {
91
+                    return false;
92
+        }
92 93
         return AuditTrail::deleteAll([
93 94
             '<=', 'created', date('Y-m-d 23:59:59', strtotime("-$maxAge days"))
94 95
         ]);
Please login to merge, or discard this patch.
src/views/_audit_entry_id.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
         $style = YII_DEBUG ? '' : 'color:transparent;';
13 13
     }
14 14
     if (Access::checkAccess()) {
15
-        echo Html::a('audit-' . $auditEntry->id, ['/audit/entry/view', 'id' => $auditEntry->id], ['style' => $style]);
15
+        echo Html::a('audit-'.$auditEntry->id, ['/audit/entry/view', 'id' => $auditEntry->id], ['style' => $style]);
16 16
     } else {
17
-        echo Html::tag('span', 'audit-' . $auditEntry->id, ['style' => $style]);
17
+        echo Html::tag('span', 'audit-'.$auditEntry->id, ['style' => $style]);
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/views/_audit_trails.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 if (empty($columns) || in_array('user_id', $columns)) {
38 38
     $_columns[] = [
39 39
         'attribute' => 'user_id',
40
-        'value' => function ($data) {
40
+        'value' => function($data) {
41 41
             return Audit::getInstance()->getUserIdentifier($data->user_id);
42 42
         },
43 43
         'format' => 'raw',
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 if (empty($columns) || in_array('entry_id', $columns)) {
47 47
     $_columns[] = [
48 48
         'attribute' => 'entry_id',
49
-        'value' => function ($model) {
49
+        'value' => function($model) {
50 50
             /** @var AuditTrail $model */
51 51
             if (Access::checkAccess()) {
52 52
                 return Html::a($model->entry_id, ['/audit/entry/view', 'id' => $model->entry_id]);
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 if (empty($columns) || in_array('diff', $columns)) {
78 78
     $_columns[] = [
79 79
         'label' => Yii::t('audit', 'Diff'),
80
-        'value' => function ($model) {
80
+        'value' => function($model) {
81 81
             /** @var AuditTrail $model */
82 82
             return $model->getDiffHtml();
83 83
         },
@@ -94,12 +94,12 @@  discard block
 block discarded – undo
94 94
     'linkSelector' => '#pjax-AuditTrails ul.pagination a, th a',
95 95
 ]);
96 96
 
97
-echo '<div class="table-responsive">' . GridView::widget([
97
+echo '<div class="table-responsive">'.GridView::widget([
98 98
         'layout' => '{summary}{pager}<br/>{items}{pager}',
99 99
         'dataProvider' => $auditTrailDataProvider,
100 100
         'filterModel' => $filter ? $auditTrailSearch : null,
101 101
         'columns' => $_columns,
102
-    ]) . '</div>';
102
+    ]).'</div>';
103 103
 
104 104
 Pjax::end();
105 105
 
Please login to merge, or discard this patch.
src/views/default/index.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
                 $days = [];
28 28
                 $count = [];
29 29
                 foreach (range(-6, 0) as $day) {
30
-                    $date = strtotime($day . 'days');
30
+                    $date = strtotime($day.'days');
31 31
                     $days[] = date('D: Y-m-d', $date);
32 32
                     $count[] = AuditEntry::find()->where(['between', 'created', date('Y-m-d 00:00:00', $date), date('Y-m-d 23:59:59', $date)])->count();
33 33
                 }
Please login to merge, or discard this patch.
src/views/default/panels/error/chart.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 $days = [];
9 9
 $count = [];
10 10
 foreach (range(-6, 0) as $day) {
11
-    $date = strtotime($day . 'days');
11
+    $date = strtotime($day.'days');
12 12
     $days[] = date('D: Y-m-d', $date);
13 13
     $count[] = AuditError::find()->where(['between', 'created', date('Y-m-d 00:00:00', $date), date('Y-m-d 23:59:59', $date)])->count();
14 14
 }
Please login to merge, or discard this patch.
src/views/default/panels/javascript/chart.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 $days = [];
9 9
 $count = [];
10 10
 foreach (range(-6, 0) as $day) {
11
-    $date = strtotime($day . 'days');
11
+    $date = strtotime($day.'days');
12 12
     $days[] = date('D: Y-m-d', $date);
13 13
     $count[] = AuditJavascript::find()->where(['between', 'created', date('Y-m-d 00:00:00', $date), date('Y-m-d 23:59:59', $date)])->count();
14 14
 }
Please login to merge, or discard this patch.
src/views/default/panels/mail/chart.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 $days = [];
9 9
 $count = [];
10 10
 foreach (range(-6, 0) as $day) {
11
-    $date = strtotime($day . 'days');
11
+    $date = strtotime($day.'days');
12 12
     $days[] = date('D: Y-m-d', $date);
13 13
     $count[] = AuditMail::find()->where(['between', 'created', date('Y-m-d 00:00:00', $date), date('Y-m-d 23:59:59', $date)])->count();
14 14
 }
Please login to merge, or discard this patch.
src/views/default/panels/trail/chart.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 $days = [];
9 9
 $count = [];
10 10
 foreach (range(-6, 0) as $day) {
11
-    $date = strtotime($day . 'days');
11
+    $date = strtotime($day.'days');
12 12
     $days[] = date('D: Y-m-d', $date);
13 13
     $count[] = AuditTrail::find()->where(['between', 'created', date('Y-m-d 00:00:00', $date), date('Y-m-d 23:59:59', $date)])->count();
14 14
 }
Please login to merge, or discard this patch.