Passed
Push — master ( 309757...35b4f7 )
by Dispositif
02:30
created
src/Application/ExternLink/ExternRefWorker.php 1 patch
Spacing   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 .= ' 
Please login to merge, or discard this patch.
src/Domain/ExternLink/SummaryExternTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             $this->summary->memo['sites'][] = $this->externalPage->getPrettyDomainName(); // ???
34 34
         }
35 35
         if (isset($mapData['accès url'])) {
36
-            $this->log->debug('accès 
Please login to merge, or discard this patch.