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 ( 1db939...f19805 )
by Steve
05:44
created
src/Audit.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,9 +135,9 @@
 block discarded – undo
135 135
         // 'audit/config',
136 136
 
137 137
         // These provide special functionality and get loaded to activate it
138
-        'audit/error',      // Links the extra error reporting functions (`exception()` and `errorMessage()`)
139
-        'audit/extra',      // Links the data functions (`data()`)
140
-        'audit/curl',       // Links the curl tracking function (`curlBegin()`, `curlEnd()` and `curlExec()`)
138
+        'audit/error', // Links the extra error reporting functions (`exception()` and `errorMessage()`)
139
+        'audit/extra', // Links the data functions (`data()`)
140
+        'audit/curl', // Links the curl tracking function (`curlBegin()`, `curlEnd()` and `curlExec()`)
141 141
     ];
142 142
 
143 143
     /**
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     // Things required to keep the module yii2-debug compatible
177 177
     /* @see \yii\debug\Module::$traceLine (since 2.0.7) */
178 178
     public $traceLine = \yii\debug\Module::DEFAULT_IDE_TRACELINE;
179
-     /* @see \yii\debug\Module::$tracePathMappings (since 2.1.6) */
179
+        /* @see \yii\debug\Module::$tracePathMappings (since 2.1.6) */
180 180
     public $tracePathMappings = [];
181 181
 
182 182
     /**
@@ -350,9 +350,9 @@  discard block
 block discarded – undo
350 350
         // This code assumes the audit module is already loaded and can thus look for a derived instance
351 351
         $loadedModules = Yii::$app->loadedModules;
352 352
         foreach ($loadedModules as $module) {
353
-             if ($module instanceof self) {
354
-                 return self::$_me = $module;
355
-             }
353
+                if ($module instanceof self) {
354
+                    return self::$_me = $module;
355
+                }
356 356
         }
357 357
 
358 358
         // If we're still here, fall back onto the default implementation
@@ -482,12 +482,12 @@  discard block
 block discarded – undo
482 482
 
483 483
         // We now need one more iteration to add core classes to the panels added via the merge, if needed
484 484
         array_walk($this->panels, function(&$value, $key) {
485
-           if (!isset($value['class'])) {
486
-               if (isset($this->_corePanels[$key]))
487
-                   $value = ArrayHelper::merge($value, $this->_corePanels[$key]);
488
-               else
489
-                   throw new InvalidConfigException("Invalid configuration for '$key'. No 'class' specified.");
490
-           }
485
+            if (!isset($value['class'])) {
486
+                if (isset($this->_corePanels[$key]))
487
+                    $value = ArrayHelper::merge($value, $this->_corePanels[$key]);
488
+                else
489
+                    throw new InvalidConfigException("Invalid configuration for '$key'. No 'class' specified.");
490
+            }
491 491
         });
492 492
     }
493 493
 
Please login to merge, or discard this patch.
src/components/Helper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     {
92 92
         $data = ArrayHelper::toArray($data);
93 93
         if ($simplify)
94
-            array_walk($data, function (&$value) {
94
+            array_walk($data, function(&$value) {
95 95
                 if (is_array($value) && count($value) == 1) $value = reset($value);
96 96
             });
97 97
 
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
             if (is_object($value)) {
168 168
                 $class = get_class($value);
169 169
                 // By default we just mention the object type
170
-                $args[$name] = 'Object(' . $class . ')';
170
+                $args[$name] = 'Object('.$class.')';
171 171
 
172 172
                 if ($recurseDepth > 0) {
173 173
                     // Make sure to limit the toArray to non recursive, it's much to easy to get stuck in an infinite loop
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
         $hash = bcadd(sprintf('%u', crc32($data)), 0x100000000);
199 199
         $str = '';
200 200
         do {
201
-            $str = $map[bcmod($hash, 62)] . $str;
201
+            $str = $map[bcmod($hash, 62)].$str;
202 202
             $hash = bcdiv($hash, 62);
203 203
         } while ($hash >= 1);
204 204
         return $str;
Please login to merge, or discard this patch.
src/components/SoapClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         return $this->_data['result'] = parent::__doRequest($request, $location, $action, $version, $one_way);
81 81
     }
82 82
 
83
-    public function __setCookie ($name, $value = null)
83
+    public function __setCookie($name, $value = null)
84 84
     {
85 85
         if (!isset($this->_data['cookies']))
86 86
             $this->_data['cookies'] = [];
Please login to merge, or discard this patch.
src/controllers/JsLogController.php 1 patch
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.
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', 'ru', 'es', 'tr'],
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.
src/migrations/0.1-1.0/m140829_000003_create_audit_error.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@
 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
-            'created'    => Schema::TYPE_DATETIME . ' NOT NULL',
20
-            'message'    => Schema::TYPE_STRING . '(512) NOT NULL',
21
-            'code'       => Schema::TYPE_INTEGER . " DEFAULT '0'",
22
-            'file'       => Schema::TYPE_STRING . '(512)',
23
-            'line'       => Schema::TYPE_INTEGER ,
18
+            'audit_id'   => Schema::TYPE_INTEGER.' NOT NULL',
19
+            'created'    => Schema::TYPE_DATETIME.' NOT NULL',
20
+            'message'    => Schema::TYPE_STRING.'(512) NOT NULL',
21
+            'code'       => Schema::TYPE_INTEGER." DEFAULT '0'",
22
+            'file'       => Schema::TYPE_STRING.'(512)',
23
+            'line'       => Schema::TYPE_INTEGER,
24 24
             'trace'      => 'BLOB',
25 25
         ], $tableOptions);
26 26
 
Please login to merge, or discard this patch.