Passed
Push — master ( 8c018f...e6de3a )
by Dispositif
02:50
created
src/Application/ExternRefWorker.php 1 patch
Spacing   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     public const SLEEP_AFTER_EDITION = 15; // sec
26 26
     public const MINUTES_DELAY_AFTER_LAST_HUMAN_EDIT = 10; // minutes
27 27
     public const CHECK_EDIT_CONFLICT = true;
28
-    public const ARTICLE_ANALYZED_FILENAME = __DIR__ . '/resources/article_externRef_edited.txt';
28
+    public const ARTICLE_ANALYZED_FILENAME = __DIR__.'/resources/article_externRef_edited.txt';
29 29
     public const SKIP_ADQ = false;
30 30
     public const SKIP_LASTEDIT_BY_BOT = false;
31 31
     public const CITATION_NUMBER_ON_FIRE = 15;
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             $result = $this->transformer->process($refContent, $this->summary);
59 59
         } catch (Throwable $e) {
60 60
             echo "** Problème détecté 234242\n";
61
-            $this->log->critical($e->getMessage() . " " . $e->getFile() . ":" . $e->getLine());
61
+            $this->log->critical($e->getMessage()." ".$e->getFile().":".$e->getLine());
62 62
             // TODO : parse $e->message -> variable process, taskName, botflag...
63 63
 
64 64
             return $refContent;
@@ -112,10 +112,10 @@  discard block
 block discarded – undo
112 112
         $prefixSummary = ($this->summary->isBotFlag()) ? 'bot ' : '';
113 113
         $suffix = '';
114 114
         if (isset($this->summary->memo['count article'])) {
115
-            $suffix .= ' ' . $this->summary->memo['count article'] . 'x {article}';
115
+            $suffix .= ' '.$this->summary->memo['count article'].'x {article}';
116 116
         }
117 117
         if (isset($this->summary->memo['count lien web'])) {
118
-            $suffix .= ' ' . $this->summary->memo['count lien web'] . 'x {lien web}';
118
+            $suffix .= ' '.$this->summary->memo['count lien web'].'x {lien web}';
119 119
         }
120 120
         if (isset($this->summary->memo['presse'])) {
121 121
             $suffix .= ' 
Please login to merge, or discard this patch.