Completed
Push — req-comment ( 5714fe...9f4c63 )
by Michael
29:48 queued 24:25
created
includes/ConsoleTasks/ClearOAuthDataTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         $users = UserSearchHelper::get($database)->inIds(
22 22
             $database->query('SELECT user FROM oauthtoken WHERE type = \'access\'')->fetchColumn());
23 23
 
24
-        foreach ($users as $u){
24
+        foreach ($users as $u) {
25 25
             $oauth = new OAuthUserHelper($u, $database, $this->getOAuthProtocolHelper(), $this->getSiteConfiguration());
26 26
             $oauth->detach();
27 27
         }
Please login to merge, or discard this patch.
includes/Exceptions/NotIdentifiedException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         $currentUser = User::getCurrent($database);
55 55
         $this->assign('currentUser', $currentUser);
56 56
 
57
-        if($this->securityManager !== null) {
57
+        if ($this->securityManager !== null) {
58 58
             $this->setupNavMenuAccess($currentUser);
59 59
         }
60 60
 
Please login to merge, or discard this patch.
includes/Pages/PageViewRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
                 $requestLogs[] = array(
178 178
                     'type'     => 'comment',
179 179
                     'security' => $entry->getVisibility(),
180
-                    'user'     => $entry->getVisibility() == 'requester' ? $request->getName() :$nameCache[$entry->getUser()]->getUsername(),
180
+                    'user'     => $entry->getVisibility() == 'requester' ? $request->getName() : $nameCache[$entry->getUser()]->getUsername(),
181 181
                     'userid'   => $entry->getUser() == -1 ? null : $entry->getUser(),
182 182
                     'entry'    => null,
183 183
                     'time'     => $entry->getTime(),
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 
194 194
                 $entryComment = $entry->getComment();
195 195
 
196
-                if($entry->getAction() === 'JobIssueRequest' || $entry->getAction() === 'JobCompletedRequest'){
196
+                if ($entry->getAction() === 'JobIssueRequest' || $entry->getAction() === 'JobCompletedRequest') {
197 197
                     $data = unserialize($entry->getComment());
198 198
                     /** @var JobQueue $job */
199 199
                     $job = JobQueue::getById($data['job'], $database);
Please login to merge, or discard this patch.