@@ -305,7 +305,7 @@ |
||
305 | 305 | '%s [%s/%s] %s %s : %s', |
306 | 306 | $prefix, |
307 | 307 | str_replace('v', '', $this->bot::getGitVersion()), |
308 | - str_replace(['v0.','v1.'], '', $this->citationVersion), |
|
308 | + str_replace(['v0.', 'v1.'], '', $this->citationVersion), |
|
309 | 309 | self::TASK_NAME, |
310 | 310 | $this->nbRows, |
311 | 311 | $citeSummary |
@@ -22,7 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | return array_filter( |
24 | 24 | $myArray, |
25 | - function ($value) { |
|
25 | + function($value) { |
|
26 | 26 | return !is_null($value) && '' !== $value; |
27 | 27 | } |
28 | 28 | ); |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | $replacement = str_replace('{{extrait', '{{Citation bloc', $template); |
44 | 44 | echo ">".$replacement."\n"; |
45 | 45 | $newText = str_replace($template, $replacement, $newText); |
46 | - }else{ |
|
46 | + } else { |
|
47 | 47 | // {Début citation} et {{Fin citation}} |
48 | 48 | $replacement = str_replace('{{extrait|', '{{Début citation}}', $template.'{{Fin citation}}'); |
49 | 49 | echo ">".$replacement."\n"; |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | $ask = readline("*** ÉDITION ? [y/n]"); |
61 | - if( 'y' !== $ask){ |
|
61 | + if ('y' !== $ask) { |
|
62 | 62 | continue; |
63 | 63 | } |
64 | 64 |