Passed
Push — master ( a73e13...03a489 )
by Dispositif
15:32
created
src/Application/NotificationWorker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
             $this->processSpecialActions($notif);
112 112
         }
113 113
 
114
-        if(empty($wikilog)) {
114
+        if (empty($wikilog)) {
115 115
             echo "Nothing.";
116 116
             return;
117 117
         }
Please login to merge, or discard this patch.
src/Application/WikiBotConfig.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,9 +173,9 @@
 block discarded – undo
173 173
      */
174 174
     public function minutesSinceLastEdit(string $title): int
175 175
     {
176
-        $time = $this->getTimestamp($title);  // 2011-09-02T16:31:13Z
176
+        $time = $this->getTimestamp($title); // 2011-09-02T16:31:13Z
177 177
 
178
-        return (int)round((time() - strtotime($time)) / 60);
178
+        return (int) round((time() - strtotime($time)) / 60);
179 179
     }
180 180
 
181 181
     /**
Please login to merge, or discard this patch.
src/Application/VoteAdmin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             throw new ConfigException('Pas de phrases disponibles');
103 103
         }
104 104
 
105
-        return (string)trim($sentences[array_rand($sentences)]);
105
+        return (string) trim($sentences[array_rand($sentences)]);
106 106
     }
107 107
 
108 108
     private function generateVoteInsertionText(): ?string
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
         $html = $this->getAdminScoreHtml();
258 258
 
259 259
         if (!empty($html) && preg_match('#<th>Total</th>[^<]*<th>([0-9]+)</th>#', $html, $matches)) {
260
-            return (int)$matches[1];
260
+            return (int) $matches[1];
261 261
         }
262 262
 
263 263
         return null;
Please login to merge, or discard this patch.