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 ( 82bc59...95d90c )
by Elias
13:47 queued 14s
created
src/views/mail/view-html.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 $this->title                   = Yii::t('audit', 'Mail #{id}', ['id' => $model->id]);
12 12
 $this->params['breadcrumbs'][] = ['label' => Yii::t('audit', 'Audit'), 'url' => ['default/index']];
13 13
 $this->params['breadcrumbs'][] = ['label' => Yii::t('audit', 'Mails'), 'url' => ['index']];
14
-$this->params['breadcrumbs'][] = '#' . $model->id;
14
+$this->params['breadcrumbs'][] = '#'.$model->id;
15 15
 
16 16
 if (Audit::getInstance()->hasMethod('renderEmail')) {
17 17
     Audit::getInstance()->renderEmail($this, $model);
@@ -21,5 +21,5 @@  discard block
 block discarded – undo
21 21
     $parser->setText($model->data);
22 22
     echo $parser->getMessageBody('htmlEmbedded');
23 23
 } else {
24
-    echo Html::tag('pre', $model->data) . Html::tag('br') . 'Please register a renderEmail panel function or install php-mime-mail-parser for better functionality';
24
+    echo Html::tag('pre', $model->data).Html::tag('br').'Please register a renderEmail panel function or install php-mime-mail-parser for better functionality';
25 25
 }
Please login to merge, or discard this patch.
src/views/entry/panels/soap/detail.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
     unset($request['result']);
39 39
 }
40 40
 
41
-$tabs[] = [ 'label' => \Yii::t('audit', 'Info'), 'content' => $this->render('info_table', ['request' => $request]), 'active' => true ];
41
+$tabs[] = ['label' => \Yii::t('audit', 'Info'), 'content' => $this->render('info_table', ['request' => $request]), 'active' => true];
42 42
 
43 43
 echo Html::tag('h2', \Yii::t('audit', 'Request #{id}', ['id' => $index])),
44 44
         WebHelper::bootstrap('Tabs', 'widget', ['items' => array_reverse($tabs)]);
Please login to merge, or discard this patch.
src/migrations/1.1.x/m150626_000005_create_audit_javascript.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
     {
12 12
         $this->createTable(self::TABLE, [
13 13
             'id'         => Schema::TYPE_PK,
14
-            'entry_id'   => Schema::TYPE_INTEGER . ' NOT NULL',
15
-            'created'    => Schema::TYPE_DATETIME . ' NOT NULL',
16
-            'type'       => Schema::TYPE_STRING . '(20) NOT NULL',
17
-            'message'    => Schema::TYPE_TEXT . ' NOT NULL',
18
-            'origin'     => Schema::TYPE_STRING . '(512)',
14
+            'entry_id'   => Schema::TYPE_INTEGER.' NOT NULL',
15
+            'created'    => Schema::TYPE_DATETIME.' NOT NULL',
16
+            'type'       => Schema::TYPE_STRING.'(20) NOT NULL',
17
+            'message'    => Schema::TYPE_TEXT.' NOT NULL',
18
+            'origin'     => Schema::TYPE_STRING.'(512)',
19 19
             'data'       => Schema::TYPE_BINARY,
20 20
         ], $this->db->driverName === 'mysql' ? 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB' : null);
21 21
 
Please login to merge, or discard this patch.
src/migrations/1.1.x/m150626_000002_create_audit_data.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
     {
12 12
         $this->createTable(self::TABLE, [
13 13
             'id'         => Schema::TYPE_PK,
14
-            'entry_id'   => Schema::TYPE_INTEGER . ' NOT NULL',
15
-            'type'       => Schema::TYPE_STRING . '(255) NOT NULL',
14
+            'entry_id'   => Schema::TYPE_INTEGER.' NOT NULL',
15
+            'type'       => Schema::TYPE_STRING.'(255) NOT NULL',
16 16
             'data'       => Schema::TYPE_BINARY,
17 17
         ], ($this->db->driverName === 'mysql' ? 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB' : null));
18 18
 
Please login to merge, or discard this patch.
src/migrations/1.1.x/m150626_000006_create_audit_mail.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
     {
12 12
         $this->createTable(self::TABLE, [
13 13
             'id'         => Schema::TYPE_PK,
14
-            'entry_id'   => Schema::TYPE_INTEGER . ' NOT NULL',
15
-            'created'    => Schema::TYPE_DATETIME . ' NOT NULL',
16
-            'successful' => Schema::TYPE_INTEGER . ' NOT NULL',
14
+            'entry_id'   => Schema::TYPE_INTEGER.' NOT NULL',
15
+            'created'    => Schema::TYPE_DATETIME.' NOT NULL',
16
+            'successful' => Schema::TYPE_INTEGER.' NOT NULL',
17 17
             'from'       => Schema::TYPE_STRING,
18 18
             'to'         => Schema::TYPE_STRING,
19 19
             'reply'      => Schema::TYPE_STRING,
Please login to merge, or discard this patch.
src/migrations/1.1.x/m150626_000004_create_audit_trail.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,14 +12,14 @@
 block discarded – undo
12 12
         $this->createTable(self::TABLE, [
13 13
             'id'        => Schema::TYPE_PK,
14 14
             'entry_id'  => Schema::TYPE_INTEGER,
15
-            'user_id'   => Schema::TYPE_INTEGER . ' NULL',
16
-            'action'    => Schema::TYPE_STRING . ' NOT NULL',
17
-            'model'     => Schema::TYPE_STRING . ' NOT NULL',
18
-            'model_id'  => Schema::TYPE_STRING . ' NOT NULL',
15
+            'user_id'   => Schema::TYPE_INTEGER.' NULL',
16
+            'action'    => Schema::TYPE_STRING.' NOT NULL',
17
+            'model'     => Schema::TYPE_STRING.' NOT NULL',
18
+            'model_id'  => Schema::TYPE_STRING.' NOT NULL',
19 19
             'field'     => Schema::TYPE_STRING,
20 20
             'old_value' => Schema::TYPE_TEXT,
21 21
             'new_value' => Schema::TYPE_TEXT,
22
-            'created'   => Schema::TYPE_DATETIME . ' NOT NULL',
22
+            'created'   => Schema::TYPE_DATETIME.' NOT NULL',
23 23
         ], ($this->db->driverName === 'mysql' ? 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB' : null));
24 24
 
25 25
         if ($this->db->driverName != 'sqlite') {
Please login to merge, or discard this patch.
src/migrations/1.1.x/m150626_000001_create_audit_entry.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -11,14 +11,14 @@
 block discarded – undo
11 11
     {
12 12
         $this->createTable(self::TABLE, [
13 13
             'id'                => Schema::TYPE_PK,
14
-            'created'           => Schema::TYPE_DATETIME . ' NOT NULL',
15
-            'user_id'           => Schema::TYPE_INTEGER . ' DEFAULT 0',
16
-            'duration'          => Schema::TYPE_FLOAT . ' NULL',
17
-            'ip'                => Schema::TYPE_STRING . '(45) NULL',
18
-            'request_method'    => Schema::TYPE_STRING . '(16) NULL',
19
-            'ajax'              => Schema::TYPE_INTEGER . '(1) DEFAULT 0 NOT NULL',
20
-            'route'             => Schema::TYPE_STRING . '(255) NULL',
21
-            'memory_max'        => Schema::TYPE_INTEGER . ' NULL',
14
+            'created'           => Schema::TYPE_DATETIME.' NOT NULL',
15
+            'user_id'           => Schema::TYPE_INTEGER.' DEFAULT 0',
16
+            'duration'          => Schema::TYPE_FLOAT.' NULL',
17
+            'ip'                => Schema::TYPE_STRING.'(45) NULL',
18
+            'request_method'    => Schema::TYPE_STRING.'(16) NULL',
19
+            'ajax'              => Schema::TYPE_INTEGER.'(1) DEFAULT 0 NOT NULL',
20
+            'route'             => Schema::TYPE_STRING.'(255) NULL',
21
+            'memory_max'        => Schema::TYPE_INTEGER.' NULL',
22 22
         ], ($this->db->driverName === 'mysql' ? 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB' : null));
23 23
 
24 24
         $this->createIndex('idx_user_id', self::TABLE, ['user_id']);
Please login to merge, or discard this patch.
src/migrations/1.1.x/m150626_000003_create_audit_error.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -12,15 +12,15 @@  discard block
 block discarded – undo
12 12
         $driver = $this->db->driverName;
13 13
         $this->createTable(self::TABLE, [
14 14
             'id'         => Schema::TYPE_PK,
15
-            'entry_id'   => Schema::TYPE_INTEGER . ' NOT NULL',
16
-            'created'    => Schema::TYPE_DATETIME . ' NOT NULL',
17
-            'message'    => Schema::TYPE_TEXT . ' NOT NULL',
18
-            'code'       => Schema::TYPE_INTEGER . " DEFAULT '0'",
19
-            'file'       => Schema::TYPE_STRING . '(512)',
20
-            'line'       => Schema::TYPE_INTEGER ,
15
+            'entry_id'   => Schema::TYPE_INTEGER.' NOT NULL',
16
+            'created'    => Schema::TYPE_DATETIME.' NOT NULL',
17
+            'message'    => Schema::TYPE_TEXT.' NOT NULL',
18
+            'code'       => Schema::TYPE_INTEGER." DEFAULT '0'",
19
+            'file'       => Schema::TYPE_STRING.'(512)',
20
+            'line'       => Schema::TYPE_INTEGER,
21 21
             'trace'      => Schema::TYPE_BINARY,
22
-            'hash'       => Schema::TYPE_STRING . '(32)',
23
-            'emailed'    => Schema::TYPE_BOOLEAN . " NOT NULL DEFAULT '0'",
22
+            'hash'       => Schema::TYPE_STRING.'(32)',
23
+            'emailed'    => Schema::TYPE_BOOLEAN." NOT NULL DEFAULT '0'",
24 24
         ], ($driver === 'mysql' ? 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB' : null));
25 25
 
26 26
         if ($driver != 'sqlite') {
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         }
29 29
 
30 30
         // Issue #122: Specified key was too long; max key length is 767 bytes - http://stackoverflow.com/q/1814532/50158
31
-        $this->createIndex('idx_file', self::TABLE, ['file' . ($driver === 'mysql' ? '(180)' : '')]);
31
+        $this->createIndex('idx_file', self::TABLE, ['file'.($driver === 'mysql' ? '(180)' : '')]);
32 32
         $this->createIndex('idx_emailed', self::TABLE, ['emailed']);
33 33
     }
34 34
 
Please login to merge, or discard this patch.
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.