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 ( 64db4b...6f97ac )
by Elias
15:25 queued 15s
created
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/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/components/base/ErrorHandlerTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
             }
36 36
 
37 37
             // Fake an actionEvent so we can use the track/ignore functionality using the originally requested route:
38
-            $event = (object) ['action' => (object)['uniqueId' => Yii::$app->requestedRoute]];
38
+            $event = (object) ['action' => (object) ['uniqueId' => Yii::$app->requestedRoute]];
39 39
             if ($audit->shouldTrack($event, true)) {
40 40
                 $entry = $audit->getEntry(!$isMemoryError);
41 41
                 if ($entry) {
Please login to merge, or discard this patch.