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.
Test Setup Failed
Push — master ( b06cd5...a26aef )
by Albert
04:00 queued 01:46
created
src/DbExporter/DbMigrations.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -155,18 +155,18 @@
 block discarded – undo
155 155
 
156 156
             $tableIndexes = $this->getTableIndexes($value['table_name']);
157 157
             if (!is_null($tableIndexes) && count($tableIndexes)){
158
-            	foreach ($tableIndexes as $index) {
158
+                foreach ($tableIndexes as $index) {
159 159
                     if(Str::endsWith($index['Key_name'], '_index')) {
160
-                                    	   $up .= '                $' . "table->index('" . $index['Key_name'] . "');\n";
160
+                                            $up .= '                $' . "table->index('" . $index['Key_name'] . "');\n";
161 161
                     }
162 162
                     }
163
-            	}
163
+                }
164 164
 
165 165
             $up .= "            });\n\n";
166 166
             $Constraint = $ConstraintDown = "";
167 167
             /** 
168
-            * @var array $tableConstraints 
169
-            */
168
+             * @var array $tableConstraints 
169
+             */
170 170
             $tableConstraints = $this->getTableConstraints($value['table_name']);
171 171
             if (!is_null($tableConstraints) && count($tableConstraints)) {
172 172
             $Constraint = $ConstraintDown = "
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
                 $numbers = "";
87 87
                 $nullable = $values->Null == "NO" ? "" : "->nullable()";
88 88
                 $default = empty($values->Default) ? "" : "->default(\"{$values->Default}\")";
89
-                $unsigned = strpos($values->Type, "unsigned") === false ? '': '->unsigned()';
89
+                $unsigned = strpos($values->Type, "unsigned") === false ? '' : '->unsigned()';
90 90
 
91 91
                 if (in_array($type, ['var', 'varchar', 'enum', 'decimal', 'float'])) {
92 92
                     $para = strpos($values->Type, '(');
@@ -154,9 +154,9 @@  discard block
 block discarded – undo
154 154
             }
155 155
 
156 156
             $tableIndexes = $this->getTableIndexes($value['table_name']);
157
-            if (!is_null($tableIndexes) && count($tableIndexes)){
157
+            if (!is_null($tableIndexes) && count($tableIndexes)) {
158 158
             	foreach ($tableIndexes as $index) {
159
-                    if(Str::endsWith($index['Key_name'], '_index')) {
159
+                    if (Str::endsWith($index['Key_name'], '_index')) {
160 160
                                     	   $up .= '                $' . "table->index('" . $index['Key_name'] . "');\n";
161 161
                     }
162 162
                     }
@@ -217,9 +217,9 @@  discard block
 block discarded – undo
217 217
 	     * Table: {$name}
218 218
 	     */
219 219
 	    {$values['up']}";
220
-                $upConstraint.="
220
+                $upConstraint .= "
221 221
                 {$values['constraint']}";
222
-                    $downConstraint.="
222
+                    $downConstraint .= "
223 223
                 {$values['constraint_down']}";
224 224
 
225 225
                 $downSchema .= "
Please login to merge, or discard this patch.