Passed
Push — autocreate-bugs ( 25b649 )
by Simon
11:09
created
includes/Pages/RequestAction/PageCustomClose.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -352,7 +352,7 @@
 block discarded – undo
352 352
         $creationTaskClass = null;
353 353
 
354 354
         if ($action === self::CREATE_OAUTH) {
355
-            if(!$canOauthCreate) {
355
+            if (!$canOauthCreate) {
356 356
                 throw new AccessDeniedException($this->getSecurityManager());
357 357
             }
358 358
 
Please login to merge, or discard this patch.
includes/IdentificationVerifier.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
             $endpoint = $this->siteConfiguration->getMetaWikimediaWebServiceEndpoint();
191 191
             $response = $this->httpHelper->get($endpoint, $parameters);
192 192
             $response = json_decode($response, true);
193
-        } 
193
+        }
194 194
         catch (CurlException $ex) {
195 195
             // failed getting identification status, so throw a nicer error.
196 196
             $message = 'Could not contact metawiki API to determine user\' identification status. '
Please login to merge, or discard this patch.
includes/ConsoleTasks/RunJobQueueTask.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,8 @@
 block discarded – undo
117 117
                     Logger::backgroundJobIssue($this->getDatabase(), $job);
118 118
 
119 119
                     $database->commit();
120
-                } catch (Exception $ex) {
120
+                }
121
+                catch (Exception $ex) {
121 122
                     // oops, something went horribly wrong trying to handle this in a nice way; let's just fall back to
122 123
                     // logging this to disk for a tool root to investigate.
123 124
                     ExceptionHandler::logExceptionToDisk($ex, $this->getSiteConfiguration());
Please login to merge, or discard this patch.