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 ( 76ab56...82bc59 )
by Tobias
11:51 queued 13s
created
src/models/AuditTrail.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,14 +64,14 @@
 block discarded – undo
64 64
      */
65 65
     public function getDiffHtml()
66 66
     {
67
-        $old = explode("\n", (string)$this->old_value);
68
-        $new = explode("\n", (string)$this->new_value);
67
+        $old = explode("\n", (string) $this->old_value);
68
+        $new = explode("\n", (string) $this->new_value);
69 69
 
70 70
         foreach ($old as $i => $line) {
71
-            $old[$i] = rtrim((string)$line, "\r\n");
71
+            $old[$i] = rtrim((string) $line, "\r\n");
72 72
         }
73 73
         foreach ($new as $i => $line) {
74
-            $new[$i] = rtrim((string)$line, "\r\n");
74
+            $new[$i] = rtrim((string) $line, "\r\n");
75 75
         }
76 76
 
77 77
         $diff = new \Diff($old, $new);
Please login to merge, or discard this patch.
src/models/AuditEntry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         // for batch inserts the same way. This code adds a number of literals instead of the actual values
123 123
         // so that they can be bound right before insert and still get escaped correctly
124 124
         foreach ($batchData as $type => $data) {
125
-            $param = ':data_' . str_replace('/', '_', $type);
125
+            $param = ':data_'.str_replace('/', '_', $type);
126 126
             $rows[] = [$this->id, $type, $date, new Expression($param)];
127 127
             $params[$param] = [Helper::serialize($data, $compact), \PDO::PARAM_LOB];
128 128
         }
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
             if ($this->getRequestMethodIsCli()) {
233 233
                 $route = $this->route;
234 234
             } else {
235
-                $route = '/' . $this->route;
235
+                $route = '/'.$this->route;
236 236
             }
237 237
             return Url::to([$route ?: '/'], 'https');
238 238
         }
Please login to merge, or discard this patch.
src/views/entry/view.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 $this->title = Yii::t('audit', 'Entry #{id}', ['id' => $model->id]);
22 22
 $this->params['breadcrumbs'][] = ['label' => Yii::t('audit', 'Audit'), 'url' => ['default/index']];
23 23
 $this->params['breadcrumbs'][] = ['label' => Yii::t('audit', 'Entries'), 'url' => ['index']];
24
-$this->params['breadcrumbs'][] = '#' . $model->id;
24
+$this->params['breadcrumbs'][] = '#'.$model->id;
25 25
 
26 26
 ?>
27 27
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         <div class="list-group">
88 88
             <?php
89 89
             foreach ($panels as $id => $panel) {
90
-                $label = '<i class="glyphicon glyphicon-chevron-right"></i>' . $panel->getLabel();
90
+                $label = '<i class="glyphicon glyphicon-chevron-right"></i>'.$panel->getLabel();
91 91
                 echo Html::a($label, ['view', 'id' => $model->id, 'panel' => $id], [
92 92
                     'class' => $panel === $activePanel ? 'list-group-item active' : 'list-group-item',
93 93
                 ]);
Please login to merge, or discard this patch.
src/views/entry/index.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
                 'attribute' => 'user_id',
28 28
                 'label' => Yii::t('audit', 'User'),
29 29
                 'class' => 'yii\grid\DataColumn',
30
-                'value' => function ($data) {
30
+                'value' => function($data) {
31 31
                     return Audit::getInstance()->getUserIdentifier($data->user_id);
32 32
                 },
33 33
                 'format' => 'raw',
@@ -49,11 +49,11 @@  discard block
 block discarded – undo
49 49
                 'attribute' => 'route',
50 50
                 'filter' => AuditEntrySearch::routeFilter(),
51 51
                 'format' => 'html',
52
-                'value' => function ($data) {
52
+                'value' => function($data) {
53 53
                     return HTML::tag('span', '', [
54 54
                         'title' => \yii\helpers\Url::to([$data->route]),
55 55
                         'class' => 'glyphicon glyphicon-link'
56
-                    ]) . ' ' . $data->route;
56
+                    ]).' '.$data->route;
57 57
                 },
58 58
             ],
59 59
             [
@@ -68,28 +68,28 @@  discard block
 block discarded – undo
68 68
             ],
69 69
             [
70 70
                 'attribute' => 'trails',
71
-                'value' => function ($data) {
71
+                'value' => function($data) {
72 72
                     return $data->getTrails()->count();
73 73
                 },
74 74
                 'contentOptions' => ['class' => 'text-right'],
75 75
             ],
76 76
             [
77 77
                 'attribute' => 'mails',
78
-                'value' => function ($data) {
78
+                'value' => function($data) {
79 79
                     return $data->getMails()->count();
80 80
                 },
81 81
                 'contentOptions' => ['class' => 'text-right'],
82 82
             ],
83 83
             [
84 84
                 'attribute' => 'javascripts',
85
-                'value' => function ($data) {
85
+                'value' => function($data) {
86 86
                     return $data->getJavascripts()->count();
87 87
                 },
88 88
                 'contentOptions' => ['class' => 'text-right'],
89 89
             ],
90 90
             [
91 91
                 'attribute' => 'errors',
92
-                'value' => function ($data) {
92
+                'value' => function($data) {
93 93
                     return $data->getLinkedErrors()->count();
94 94
                 },
95 95
                 'contentOptions' => ['class' => 'text-right'],
Please login to merge, or discard this patch.
src/views/entry/panels/trail/detail.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
             'class'    => 'yii\grid\ActionColumn',
21 21
             'template' => '{view}',
22 22
             'buttons'  => [
23
-                'view' => function ($url, $model) {
23
+                'view' => function($url, $model) {
24 24
                     return Html::a(
25 25
                         Html::tag('span', '', ['class' => 'glyphicon glyphicon-eye-open']), ['trail/view', 'id' => $model->id]
26 26
                     );
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             'attribute' => 'user_id',
41 41
             'label'     => Yii::t('audit', 'User ID'),
42 42
             'class'     => 'yii\grid\DataColumn',
43
-            'value'     => function ($data) {
43
+            'value'     => function($data) {
44 44
                 return Audit::getInstance()->getUserIdentifier($data->user_id);
45 45
             },
46 46
             'options'   => [
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         ],
76 76
         [
77 77
             'label'  => Yii::t('audit', 'Diff'),
78
-            'value'  => function (AuditTrailSearch $model) {
78
+            'value'  => function(AuditTrailSearch $model) {
79 79
                 return $model->getDiffHtml();
80 80
             },
81 81
             'format' => 'raw',
Please login to merge, or discard this patch.
src/panels/MailPanel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     public function init()
39 39
     {
40 40
         parent::init();
41
-        Event::on(BaseMailer::className(), BaseMailer::EVENT_AFTER_SEND, function ($event) {
41
+        Event::on(BaseMailer::className(), BaseMailer::EVENT_AFTER_SEND, function($event) {
42 42
             $this->record($event);
43 43
         });
44 44
     }
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      */
128 128
     public function getLabel()
129 129
     {
130
-        return $this->getName() . ' <small>(' . $this->_model->getMails()->count() . ')</small>';
130
+        return $this->getName().' <small>('.$this->_model->getMails()->count().')</small>';
131 131
     }
132 132
 
133 133
     /**
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
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function getLabel()
32 32
     {
33
-        return $this->getName() . ' <small>(' . $this->_model->getJavascripts()->count() . ')</small>';
33
+        return $this->getName().' <small>('.$this->_model->getJavascripts()->count().')</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
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             return $entry ? $this->log($entry->id, $e) : null;
32 32
         });
33 33
 
34
-        $this->module->registerFunction('errorMessage', function ($message, $code = 0, $file = '', $line = 0, $trace = []) {
34
+        $this->module->registerFunction('errorMessage', function($message, $code = 0, $file = '', $line = 0, $trace = []) {
35 35
             $entry = $this->module->getEntry(true);
36 36
             return $entry ? $this->logMessage($entry->id, $message, $code, $file, $line, $trace) : null;
37 37
         });
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $error->file        = $exception->getFile();
64 64
         $error->line        = $exception->getLine();
65 65
         $error->trace       = Helper::cleanupTrace($exception->getTrace());
66
-        $error->hash        = Helper::hash($error->message . $error->file . $error->line);
66
+        $error->hash        = Helper::hash($error->message.$error->file.$error->line);
67 67
 
68 68
         $this->_exceptions[] = $exceptionId;
69 69
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         $error->file        = $file;
91 91
         $error->line        = $line;
92 92
         $error->trace       = Helper::cleanupTrace($trace);
93
-        $error->hash        = Helper::hash($error->message . $error->file . $error->line);
93
+        $error->hash        = Helper::hash($error->message.$error->file.$error->line);
94 94
         return $error->save(false) ? $error : null;
95 95
     }
96 96
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     public function getLabel()
117 117
     {
118
-        return $this->getName() . ' <small>(' . $this->_model->getLinkedErrors()->count() . ')</small>';
118
+        return $this->getName().' <small>('.$this->_model->getLinkedErrors()->count().')</small>';
119 119
     }
120 120
 
121 121
     /**
Please login to merge, or discard this patch.
src/panels/TrailPanel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function getLabel()
40 40
     {
41
-        return $this->getName() . ' <small>(' . $this->_model->getTrails()->count() . ')</small>';
41
+        return $this->getName().' <small>('.$this->_model->getTrails()->count().')</small>';
42 42
     }
43 43
 
44 44
     /**
Please login to merge, or discard this patch.