Completed
Push — master ( ecc147...02d12e )
by Dispositif
02:42
created
src/Domain/Models/Wiki/LienWebTemplate.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     const MODEL_NAME = 'lien web';
20 20
 
21 21
     const REQUIRED_PARAMETERS
22
-                     = [
22
+                        = [
23 23
 //            'langue' => '', // suggéré
24 24
 //            'auteur1' => '', // suggéré
25 25
             'titre' => '', // required
Please login to merge, or discard this patch.
src/Domain/Utils/TemplateParserTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
             ['{{Ouvrage
54 54
   | langue=fr
55 55
 }}',
56
-             "\n | ",
56
+                "\n | ",
57 57
             ],
58 58
         ];
59 59
     }
Please login to merge, or discard this patch.
src/Application/Examples/WikiDocument.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 }
26 26
 try{
27 27
     $newText = $response->getBody()->getContents();
28
-}catch (Throwable $e){
28
+} catch (Throwable $e){
29 29
     dump($e);
30 30
     die;
31 31
 }
Please login to merge, or discard this patch.
src/Domain/OuvrageOptimize.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 //    {
130 130
 //        $value = $this->getParam($param);
131 131
 //        // note : strval() condition because intval('4c') = 4
132
-          // opti : $number can also be of type double
132
+            // opti : $number can also be of type double
133 133
 //        if ($value && intval($value) > 0 && intval($value) <= 10 && strval(intval($value)) === $value) {
134 134
 //            $number = abs(intval($value));
135 135
 //            $roman = NumberUtil::arab2roman($number);
@@ -473,8 +473,8 @@  discard block
 block discarded – undo
473 473
                 $this->log('°titre');
474 474
             }
475 475
 
476
-             // desactivé à cause de l'exception décrite ci-dessus
477
-             // si langue=VIDE : ajout langue= à partir de langue titre
476
+                // desactivé à cause de l'exception décrite ci-dessus
477
+                // si langue=VIDE : ajout langue= à partir de langue titre
478 478
 //            if (self::WIKI_LANGUAGE !== $lang && empty($this->getParam('langue'))) {
479 479
 //                $this->setParam('langue', $lang);
480 480
 //                $this->log('+langue='.$lang);
Please login to merge, or discard this patch.
src/Application/Examples/plumeBot.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
                 $replacement = str_replace('{{extrait', '{{Citation bloc', $template);
44 44
                 echo ">".$replacement."\n";
45 45
                 $newText = str_replace($template, $replacement, $newText);
46
-            }else{
46
+            } else{
47 47
                 // {Début citation} et {{Fin citation}}
48 48
                 $replacement = str_replace('{{extrait|', '{{Début citation}}', $template.'{{Fin citation}}');
49 49
                 echo ">".$replacement."\n";
Please login to merge, or discard this patch.