@@ -26,7 +26,7 @@ |
||
| 26 | 26 | { |
| 27 | 27 | protected const USER_RC_LIMIT = 100; |
| 28 | 28 | protected const TASK_NAME = ' |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | public const SLEEP_AFTER_EDITION = 15; // sec |
| 29 | 29 | public const MINUTES_DELAY_AFTER_LAST_HUMAN_EDIT = 10; // minutes |
| 30 | 30 | public const CHECK_EDIT_CONFLICT = true; |
| 31 | - public const ARTICLE_ANALYZED_FILENAME = __DIR__ . '/../resources/article_externRef_edited.txt'; |
|
| 31 | + public const ARTICLE_ANALYZED_FILENAME = __DIR__.'/../resources/article_externRef_edited.txt'; |
|
| 32 | 32 | public const SKIP_ADQ = false; |
| 33 | 33 | public const SKIP_LASTEDIT_BY_BOT = false; |
| 34 | 34 | public const CITATION_NUMBER_ON_FIRE = 15; |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | $result = $this->transformer->process($refContent, $this->summary); |
| 62 | 62 | } catch (Throwable $e) { |
| 63 | 63 | echo "** Problème détecté 234242\n"; |
| 64 | - $this->log->critical($e->getMessage() . " " . $e->getFile() . ":" . $e->getLine()); |
|
| 64 | + $this->log->critical($e->getMessage()." ".$e->getFile().":".$e->getLine()); |
|
| 65 | 65 | // TODO : parse $e->message -> variable process, taskName, botflag... |
| 66 | 66 | |
| 67 | 67 | return $refContent; |
@@ -121,10 +121,10 @@ discard block |
||
| 121 | 121 | $prefixSummary = ($this->summary->isBotFlag()) ? 'bot ' : ''; |
| 122 | 122 | $suffix = ''; |
| 123 | 123 | if (isset($this->summary->memo['count article'])) { |
| 124 | - $suffix .= ' ' . $this->summary->memo['count article'] . 'x {article}'; |
|
| 124 | + $suffix .= ' '.$this->summary->memo['count article'].'x {article}'; |
|
| 125 | 125 | } |
| 126 | 126 | if (isset($this->summary->memo['count lien web'])) { |
| 127 | - $suffix .= ' ' . $this->summary->memo['count lien web'] . 'x {lien web}'; |
|
| 127 | + $suffix .= ' '.$this->summary->memo['count lien web'].'x {lien web}'; |
|
| 128 | 128 | } |
| 129 | 129 | if (isset($this->summary->memo['presse'])) { |
| 130 | 130 | $suffix .= ' |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $this->summary->memo['sites'][] = $this->externalPage->getPrettyDomainName(); // ??? |
| 33 | 33 | } |
| 34 | 34 | if (isset($mapData['accès url'])) { |
| 35 | - $this->log->debug('accès |
|