Passed
Push — dev ( 863855...4ef148 )
by Dispositif
02:53
created
src/Application/Ref2ArticleProcess.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             if (!$articleOrLienBrise instanceof ArticleOrLienBriseInterface) {
50 50
                 continue;
51 51
             }
52
-            if($articleOrLienBrise instanceof LienBriseTemplate){
52
+            if ($articleOrLienBrise instanceof LienBriseTemplate) {
53 53
                 $this->warning = true;
54 54
             }
55 55
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     public function hasWarning():bool
64 64
     {
65
-        return (bool)$this->warning;
65
+        return (bool) $this->warning;
66 66
     }
67 67
 
68 68
     private function replaceRefInText(array $ref, string $replace, string $text)
Please login to merge, or discard this patch.
src/Application/Examples/ref2articleWorker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     // Signalement erreur
45 45
     $botFlag = true;
46 46
     $taskName = "bot # Amélioration bibliographique : URL ⇒ {Article}";
47
-    if($converter->hasWarning()){
47
+    if ($converter->hasWarning()) {
48 48
         $taskName = '⚠ Amélioration bibliographique : lien brisé !';
49 49
         $botFlag = false;
50 50
     }
Please login to merge, or discard this patch.