Passed
Push — master ( b5507b...28d9c0 )
by Dispositif
02:37
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.
src/Domain/Utils/TextUtil.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     //    const TRADE = '™'; // ™
89 89
     //    const REG = '®'; // ®
90 90
     //    const COPY = '©'; // ©
91
-    const ALL_SPACES         = "\xE2\x80\xAF|\xC2\xAD|\xC2\xA0|\\s"; // Used in regexps. Better than \s
91
+    const ALL_SPACES = "\xE2\x80\xAF|\xC2\xAD|\xC2\xA0|\\s"; // Used in regexps. Better than \s
92 92
 
93 93
     /**
94 94
      * UTF8 first letter in upper case.
Please login to merge, or discard this patch.