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
Pull Request — master (#10)
by
unknown
15:48
created
src/DbExporter/DbSeeding.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -85,23 +85,23 @@  discard block
 block discarded – undo
85 85
         // Get tables to ignore
86 86
         $config = config('db-exporter.seeds');
87 87
         $ignore_tables = collect([]);
88
-        if(!is_null($config) && isset($config['ignore_tables']) && !is_null($config['ignore_tables'])) {
88
+        if (!is_null($config) && isset($config['ignore_tables']) && !is_null($config['ignore_tables'])) {
89 89
             $ignore_tables = collect($config['ignore_tables']);
90 90
         }
91 91
 
92 92
         $show_tables = collect([]);
93
-        if(!is_null($config) && isset($config['use_tables']) && !is_null($config['use_tables'])) {
93
+        if (!is_null($config) && isset($config['use_tables']) && !is_null($config['use_tables'])) {
94 94
             $show_tables = collect($config['use_tables']);
95 95
         }
96 96
 
97 97
         // Loop over the tables
98 98
         foreach ($tables as $key => $value) 
99 99
         {
100
-            if($show_tables->count() > 0 && !$show_tables->contains($value['table_name'])) {
100
+            if ($show_tables->count() > 0 && !$show_tables->contains($value['table_name'])) {
101 101
                 continue;
102 102
             }
103 103
 
104
-            if($ignore_tables->contains($value['table_name'])) {
104
+            if ($ignore_tables->contains($value['table_name'])) {
105 105
                 continue;
106 106
             }
107 107
 
@@ -134,11 +134,11 @@  discard block
 block discarded – undo
134 134
         ];";
135 135
 
136 136
             if ($this->hasTableData($tableData)) {
137
-                $stub = $insertStub.'
137
+                $stub = $insertStub . '
138 138
 
139 139
         foreach($data as $item) 
140 140
         {
141
-            $this->saveData("'.$tableName.'", $item);
141
+            $this->saveData("'.$tableName . '", $item);
142 142
         }';
143 143
             }
144 144
 
@@ -173,13 +173,13 @@  discard block
 block discarded – undo
173 173
 
174 174
     private function insertPropertyAndValue($prop, $value)
175 175
     {
176
-        if(strlen($prop) > 0) {
176
+        if (strlen($prop) > 0) {
177 177
             $prop = "'{$prop}'";
178 178
         } else {
179 179
             $prop = 'null';
180 180
         }
181 181
 
182
-        if(strlen($value) > 0) {
182
+        if (strlen($value) > 0) {
183 183
             $value = str_replace("'", "\'", $value);
184 184
             $value = "'{$value}'";
185 185
         } else {
Please login to merge, or discard this patch.