@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | [ |
95 | 95 | 'page' => $title ?? '', |
96 | 96 | 'verify' => date("Y-m-d H:i:s"), |
97 | - 'altered' => (int)$stat, |
|
97 | + 'altered' => (int) $stat, |
|
98 | 98 | ] |
99 | 99 | ); |
100 | 100 | } |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | |
150 | 150 | } |
151 | 151 | |
152 | - return (int)round(($count - $found) / count($data) * 100); |
|
152 | + return (int) round(($count - $found) / count($data) * 100); |
|
153 | 153 | } |
154 | 154 | |
155 | 155 | } |
@@ -43,5 +43,5 @@ |
||
43 | 43 | } |
44 | 44 | unset($process); |
45 | 45 | echo "Sleep 10 min\n"; |
46 | - sleep(60*10); |
|
46 | + sleep(60 * 10); |
|
47 | 47 | } |
@@ -34,7 +34,7 @@ |
||
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(); |