Passed
Branch dev (8d7b92)
by Dispositif
03:12
created
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/Utils/TemplateParser.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
              */
56 56
             try{
57 57
                 $tplObject = WikiTemplateFactory::create($tplName);
58
-            }catch (Throwable $e){
58
+            } catch (Throwable $e){
59 59
                 unset($e);
60 60
                 continue;
61 61
             }
Please login to merge, or discard this patch.
src/Domain/Publisher/ExternMapper.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
             return null;
195 195
         }
196 196
         $str = str_replace([''',''', ''', "\n", "
", "|", "é"], ["'","'", "'", '', ' ', '/',
197
-                                                                                          "é"], $str);
197
+                                                                                            "é"], $str);
198 198
 
199 199
         return html_entity_decode($str);
200 200
     }
Please login to merge, or discard this patch.
src/Domain/Models/Wiki/LienWebTemplate.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     const REQUIRED_PARAMETERS = ['titre', 'url'];
22 22
 
23 23
     const MINIMUM_PARAMETERS
24
-                     = [
24
+                        = [
25 25
 //            'langue' => '', // suggéré
26 26
             'titre' => '', // required
27 27
             'url' => '', // required
Please login to merge, or discard this patch.