Passed
Push — default-sorting ( 379e4b )
by Simon
04:23
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/DataObjects/Request.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -376,7 +376,8 @@
 block discarded – undo
376 376
         return new DateTime($logTime);
377 377
     }
378 378
 
379
-    public function getLastUpdated() {
379
+    public function getLastUpdated()
380
+    {
380 381
         $logQuery = $this->dbObject->prepare(<<<SQL
381 382
 SELECT max(d.ts) FROM (
382 383
     SELECT r.date AS ts FROM request r WHERE r.id = :requestr
Please login to merge, or discard this patch.
includes/Validation/RequestValidationHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
         }
105 105
 
106 106
         // name is too long
107
-        if (mb_strlen(trim($request->getName())) > 500 ) {
107
+        if (mb_strlen(trim($request->getName())) > 500) {
108 108
             $errorList[ValidationError::NAME_EMPTY] = new ValidationError(ValidationError::NAME_TOO_LONG);
109 109
         }
110 110
 
Please login to merge, or discard this patch.