Passed
Push — master ( 66711c...b5507b )
by Dispositif
08:29
created
src/Application/Examples/CompleteWorker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,5 +43,5 @@
 block discarded – undo
43 43
     }
44 44
     unset($process);
45 45
     echo "Sleep 10 min\n";
46
-    sleep(60*10);
46
+    sleep(60 * 10);
47 47
 }
Please login to merge, or discard this patch.
src/Application/Examples/plumeBot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     echo "$title \n";
35 35
 
36 36
     $pageAction = new WikiPageAction($wiki, $title);
37
-    if($pageAction->getNs() !== 0 ) {
37
+    if ($pageAction->getNs() !== 0) {
38 38
         throw new \Exception("La page n'est pas dans Main (ns!==0)");
39 39
     }
40 40
     $text = $pageAction->getText();
Please login to merge, or discard this patch.
src/Application/ZiziBot.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         $editInfo = new EditInfo(static::BOT_TALK_SUMMARY);
59 59
         $success = $page->addToBottomOfThePage($addText, $editInfo);
60 60
 
61
-        return (bool)$success;
61
+        return (bool) $success;
62 62
     }
63 63
 
64 64
     /**
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             return null;
87 87
         }
88 88
 
89
-        return (string)trim($sentences[array_rand($sentences)]);
89
+        return (string) trim($sentences[array_rand($sentences)]);
90 90
     }
91 91
 
92 92
     /**
Please login to merge, or discard this patch.