Passed
Push — master ( 450f84...6bf8e2 )
by Michael
05:14
created
action/ajax.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         $html = '<div class="org_repos">';
132 132
         $html .= '<p>Below are the repositories of the organisation to which the authorized user has access to. Click on the icon to create/delete the webhook.</p>';
133 133
         $html .= '<div><ul>';
134
-        usort($repos, function ($repo1, $repo2) {return $repo1->displayName < $repo2->displayName ? -1 : 1;});
134
+        usort($repos, function($repo1, $repo2) {return $repo1->displayName < $repo2->displayName ? -1 : 1; });
135 135
         foreach ($repos as $repo) {
136 136
             $stateIssue = empty($repo->hookID) ? 'inactive' : 'active';
137 137
             if ($repo->error === 403) {
@@ -175,11 +175,11 @@  discard block
 block discarded – undo
175 175
 
176 176
 
177 177
         ignore_user_abort(true);
178
-        set_time_limit(60*20);
178
+        set_time_limit(60 * 20);
179 179
         ob_start();
180 180
         $this->util->sendResponse(202, 'Importing  issues...');
181 181
         header('Connection: close');
182
-        header('Content-Length: '.ob_get_length());
182
+        header('Content-Length: ' . ob_get_length());
183 183
         ob_end_flush();
184 184
         ob_end_flush();
185 185
         flush();
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
         $lockID = $data->getImportLockID($serviceName, $projectKey);
244 244
         $lockData = $data->getLockContent($lockID);
245 245
         if ($lockData === false) {
246
-            msg('Import not locked ' . $lockID,2);
246
+            msg('Import not locked ' . $lockID, 2);
247 247
             return [200, ['status' => 'done']];
248 248
         }
249 249
         if (!empty($lockData['status']) && $lockData['status'] === 'done') {
Please login to merge, or discard this patch.