Passed
Push — master ( 1faa52...d67625 )
by Dispositif
05:49 queued 11s
created
src/Domain/OuvrageOptimize.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
         if (count($res) >= 2 && empty($auteur2)) {
188 188
             // delete author-params
189 189
             array_map(
190
-                function ($param) {
190
+                function($param) {
191 191
                     $this->unsetParam($param);
192 192
                 },
193 193
                 ['auteur', 'auteurs', 'prénom1', 'nom1']
@@ -539,7 +539,7 @@  discard block
 block discarded – undo
539 539
             // todo bug {{citation bloc}} si "=" ou "|" dans texte de citation
540 540
             // Legacy : use {{début citation}} ... {{fin citation}}
541 541
             if (preg_match('#[=|]#', $extrait) > 0) {
542
-                $this->optiTemplate->externalTemplates[] = (object)[
542
+                $this->optiTemplate->externalTemplates[] = (object) [
543 543
                     'template' => 'début citation',
544 544
                     '1' => '',
545 545
                     'raw' => '{{Début citation}}'.$extrait.'{{Fin citation}}',
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
                 $this->notCosmetic = true;
549 549
             } else {
550 550
                 // StdClass
551
-                $this->optiTemplate->externalTemplates[] = (object)[
551
+                $this->optiTemplate->externalTemplates[] = (object) [
552 552
                     'template' => 'citation bloc',
553 553
                     '1' => $extrait,
554 554
                     'raw' => '{{Citation bloc|'.$extrait.'}}',
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
         // "commentaire=bla" => {{Commentaire biblio|1=bla}}
565 565
         if ($this->hasParamValue('commentaire')) {
566 566
             $commentaire = $this->getParam('commentaire');
567
-            $this->optiTemplate->externalTemplates[] = (object)[
567
+            $this->optiTemplate->externalTemplates[] = (object) [
568 568
                 'template' => 'commentaire biblio',
569 569
                 '1' => $commentaire,
570 570
                 'raw' => '{{Commentaire biblio|'.$commentaire.'}}',
Please login to merge, or discard this patch.