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 ( 569cdd...33c34a )
by Brett
525:02
created
src/components/panels/Panel.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- *
5
- * @author    Steve Guns <[email protected]>
6
- * @package   com.bedezign.sa-portal.inet.telenet.be
7
- * @copyright 2015 B&E DeZign
8
- */
3
+     *
4
+     *
5
+     * @author    Steve Guns <[email protected]>
6
+     * @package   com.bedezign.sa-portal.inet.telenet.be
7
+     * @copyright 2015 B&E DeZign
8
+     */
9 9
 
10 10
 namespace bedezign\yii2\audit\components\panels;
11 11
 
Please login to merge, or discard this patch.
src/controllers/EntryController.php 1 patch
Braces   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
     public function actionView($id, $panel = '')
47 47
     {
48 48
         list($model, $panels) = $this->loadData($id);
49
-        if (isset($panels[$panel]))
50
-            $activePanel = $panel;
51
-        else {
49
+        if (isset($panels[$panel])) {
50
+                    $activePanel = $panel;
51
+        } else {
52 52
             reset($panels);
53 53
             $activePanel = key($panels);
54 54
         }
@@ -97,9 +97,10 @@  discard block
 block discarded – undo
97 97
         $panels = $this->module->loadPanels($this->module->getPanelIdentifiers());
98 98
         $activePanels = [];
99 99
         $data = ArrayHelper::getColumn($model->data, 'data');
100
-        foreach ($panels as $panelId => $panel)
101
-            if ($panel->hasEntryData($model)) {
100
+        foreach ($panels as $panelId => $panel) {
101
+                    if ($panel->hasEntryData($model)) {
102 102
                 $panel->tag = $id;
103
+        }
103 104
                 $panel->model = $model;
104 105
                 $panel->load(isset($data[$panelId]) ? $data[$panelId] : null);
105 106
                 $activePanels[$panelId] = $panel;
Please login to merge, or discard this patch.
src/controllers/JsLogController.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,13 +44,13 @@
 block discarded – undo
44 44
             'message'    => 'message',
45 45
             'type'       => 'type',
46 46
             'file'       => 'origin',
47
-            'line'       => function ($value) use ($javascript) {
48
-                $javascript->origin .= ':' . $value;
47
+            'line'       => function($value) use ($javascript) {
48
+                $javascript->origin .= ':'.$value;
49 49
             },
50
-            'col'        => function ($value) use ($javascript) {
51
-                $javascript->origin .= ':' . $value;
50
+            'col'        => function($value) use ($javascript) {
51
+                $javascript->origin .= ':'.$value;
52 52
             },
53
-            'data'       => function ($value) use ($javascript) {
53
+            'data'       => function($value) use ($javascript) {
54 54
                 if (count($value)) $javascript->data = $value;
55 55
             },
56 56
         ];
Please login to merge, or discard this patch.
Braces   +15 added lines, -8 removed lines patch added patch discarded remove patch
@@ -51,21 +51,28 @@
 block discarded – undo
51 51
                 $javascript->origin .= ':' . $value;
52 52
             },
53 53
             'data'       => function ($value) use ($javascript) {
54
-                if (count($value)) $javascript->data = $value;
54
+                if (count($value)) {
55
+                    $javascript->data = $value;
56
+                }
55 57
             },
56 58
         ];
57 59
 
58
-        foreach ($map as $key => $target)
59
-            if (isset($data[$key])) {
60
+        foreach ($map as $key => $target) {
61
+                    if (isset($data[$key])) {
60 62
                 if (is_callable($target)) $target($data[$key]);
61
-                else $javascript->$target = $data[$key];
63
+        }
64
+                else {
65
+                    $javascript->$target = $data[$key];
66
+                }
62 67
             }
63 68
 
64
-        if (!$javascript->type)
65
-            $javascript->type = 'unknown';
69
+        if (!$javascript->type) {
70
+                    $javascript->type = 'unknown';
71
+        }
66 72
 
67
-        if ($javascript->save())
68
-            return ['result' => 'ok', 'entry' => $data['auditEntry']];
73
+        if ($javascript->save()) {
74
+                    return ['result' => 'ok', 'entry' => $data['auditEntry']];
75
+        }
69 76
 
70 77
         return ['result' => 'error', 'errors' => $javascript->getErrors()];
71 78
     }
Please login to merge, or discard this patch.
src/controllers/MailController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,6 +58,6 @@
 block discarded – undo
58 58
         if (!$model) {
59 59
             throw new NotFoundHttpException('The requested mail does not exist.');
60 60
         }
61
-        Yii::$app->response->sendContentAsFile(Helper::uncompress($model->data), $model->id . '.eml');
61
+        Yii::$app->response->sendContentAsFile(Helper::uncompress($model->data), $model->id.'.eml');
62 62
     }
63 63
 }
Please login to merge, or discard this patch.
src/messages/config.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     // and the '.svn' will match all files and directories named exactly '.svn'.
27 27
     // Note, the '/' characters in a pattern matches both '/' and '\'.
28 28
     // See helpers/FileHelper::findFiles() description for more details on pattern matching rules.
29
-     'only' => ['*.php', '*.js'],
29
+        'only' => ['*.php', '*.js'],
30 30
     // array, list of patterns that specify which files (not directories) should be processed.
31 31
     // If empty or not set, all files will be processed.
32 32
     // Please refer to "except" for details about the patterns.
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     // string, required, root directory of all source files
5
-    'sourcePath' => __DIR__ . '/..',
5
+    'sourcePath' => __DIR__.'/..',
6 6
     // array, required, list of language codes that the extracted messages
7 7
     // should be translated to. For example, ['zh-CN', 'de'].
8 8
     'languages' => ['en', 'nl'],
Please login to merge, or discard this patch.
src/messages/en/audit.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Message translations.
4
- *
5
- * This file is automatically generated by 'yii message' command.
6
- * It contains the localizable messages extracted from source code.
7
- * You may modify this file by translating the extracted messages.
8
- *
9
- * Each array element represents the translation (value) of a message (key).
10
- * If the value is empty, the message is considered as not translated.
11
- * Messages that no longer need translation will have their translations
12
- * enclosed between a pair of '@@' marks.
13
- *
14
- * Message string can be used with plural forms format. Check i18n section
15
- * of the guide for details.
16
- *
17
- * NOTE: this file must be saved in UTF-8 encoding.
18
- */
3
+     * Message translations.
4
+     *
5
+     * This file is automatically generated by 'yii message' command.
6
+     * It contains the localizable messages extracted from source code.
7
+     * You may modify this file by translating the extracted messages.
8
+     *
9
+     * Each array element represents the translation (value) of a message (key).
10
+     * If the value is empty, the message is considered as not translated.
11
+     * Messages that no longer need translation will have their translations
12
+     * enclosed between a pair of '@@' marks.
13
+     *
14
+     * Message string can be used with plural forms format. Check i18n section
15
+     * of the guide for details.
16
+     *
17
+     * NOTE: this file must be saved in UTF-8 encoding.
18
+     */
19 19
 return [
20 20
     '<b>{message}</b><br />in <i>{file}</i> on line <i>{line}</i>.<br/>-- {link}' => '',
21 21
     'Action' => '',
Please login to merge, or discard this patch.
src/messages/nl/audit.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Message translations.
4
- *
5
- * This file is automatically generated by 'yii message' command.
6
- * It contains the localizable messages extracted from source code.
7
- * You may modify this file by translating the extracted messages.
8
- *
9
- * Each array element represents the translation (value) of a message (key).
10
- * If the value is empty, the message is considered as not translated.
11
- * Messages that no longer need translation will have their translations
12
- * enclosed between a pair of '@@' marks.
13
- *
14
- * Message string can be used with plural forms format. Check i18n section
15
- * of the guide for details.
16
- *
17
- * NOTE: this file must be saved in UTF-8 encoding.
18
- */
3
+     * Message translations.
4
+     *
5
+     * This file is automatically generated by 'yii message' command.
6
+     * It contains the localizable messages extracted from source code.
7
+     * You may modify this file by translating the extracted messages.
8
+     *
9
+     * Each array element represents the translation (value) of a message (key).
10
+     * If the value is empty, the message is considered as not translated.
11
+     * Messages that no longer need translation will have their translations
12
+     * enclosed between a pair of '@@' marks.
13
+     *
14
+     * Message string can be used with plural forms format. Check i18n section
15
+     * of the guide for details.
16
+     *
17
+     * NOTE: this file must be saved in UTF-8 encoding.
18
+     */
19 19
 return [
20 20
     '<b>{message}</b><br />in <i>{file}</i> on line <i>{line}</i>.<br/>-- {link}' => '',
21 21
     'Args' => '',
Please login to merge, or discard this patch.
src/migrations/0.1-1.0/m140829_000001_create_audit_entry.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -15,19 +15,19 @@
 block discarded – undo
15 15
 
16 16
         $this->createTable(self::TABLE, [
17 17
             'id'         => Schema::TYPE_PK,
18
-            'created'    => Schema::TYPE_DATETIME . ' NOT NULL',
19
-            'start_time' => Schema::TYPE_FLOAT . ' NULL',
20
-            'end_time'   => Schema::TYPE_FLOAT . ' NULL',
21
-            'duration'   => Schema::TYPE_FLOAT . ' NULL',
22
-            'user_id'    => Schema::TYPE_INTEGER . " DEFAULT '0'",
23
-            'ip'         => Schema::TYPE_STRING . '(45) NULL',
24
-            'referrer'   => Schema::TYPE_STRING . '(512) NULL',
25
-            'origin'     => Schema::TYPE_STRING . '(512) NULL',
26
-            'url'        => Schema::TYPE_STRING . '(512) NULL',
27
-            'route'      => Schema::TYPE_STRING . '(255) NULL',
18
+            'created'    => Schema::TYPE_DATETIME.' NOT NULL',
19
+            'start_time' => Schema::TYPE_FLOAT.' NULL',
20
+            'end_time'   => Schema::TYPE_FLOAT.' NULL',
21
+            'duration'   => Schema::TYPE_FLOAT.' NULL',
22
+            'user_id'    => Schema::TYPE_INTEGER." DEFAULT '0'",
23
+            'ip'         => Schema::TYPE_STRING.'(45) NULL',
24
+            'referrer'   => Schema::TYPE_STRING.'(512) NULL',
25
+            'origin'     => Schema::TYPE_STRING.'(512) NULL',
26
+            'url'        => Schema::TYPE_STRING.'(512) NULL',
27
+            'route'      => Schema::TYPE_STRING.'(255) NULL',
28 28
             'data'       => 'BLOB NULL',
29
-            'memory'     => Schema::TYPE_INTEGER . " NULL",
30
-            'memory_max' => Schema::TYPE_INTEGER . " NULL",
29
+            'memory'     => Schema::TYPE_INTEGER." NULL",
30
+            'memory_max' => Schema::TYPE_INTEGER." NULL",
31 31
 
32 32
         ], $tableOptions);
33 33
 
Please login to merge, or discard this patch.
src/migrations/0.1-1.0/m140829_000002_create_audit_data.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
 
16 16
         $this->createTable(self::TABLE, [
17 17
             'id'         => Schema::TYPE_PK,
18
-            'audit_id'   => Schema::TYPE_INTEGER . ' NOT NULL',
19
-            'name'       => Schema::TYPE_STRING . '(255) NOT NULL',
20
-            'type'       => Schema::TYPE_STRING . '(255) NULL',
18
+            'audit_id'   => Schema::TYPE_INTEGER.' NOT NULL',
19
+            'name'       => Schema::TYPE_STRING.'(255) NOT NULL',
20
+            'type'       => Schema::TYPE_STRING.'(255) NULL',
21 21
             'packed'     => "TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'",
22 22
             'data'       => 'BLOB NOT NULL',
23 23
         ], $tableOptions);
Please login to merge, or discard this patch.