Test Failed
Push — feature/version3 ( d772f8...f8d830 )
by Sebastian
17:56 queued 05:32
created
src/Rendering/Name/Name.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
                         $resultNames[] = $this->formatName($name, $rank);
358 358
                     }
359 359
                     break;
360
-                 /* “partial-first” - as “partial-each”, but substitution is limited to the first name of the name
360
+                    /* “partial-first” - as “partial-each”, but substitution is limited to the first name of the name
361 361
                 variable. */
362 362
                 case SubsequentAuthorSubstituteRule::PARTIAL_FIRST:
363 363
                     if ($rank === 0) {
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
                     }
372 372
                     break;
373 373
 
374
-                 /* “complete-each” - requires a complete match like “complete-all”, but now the value of
374
+                    /* “complete-each” - requires a complete match like “complete-all”, but now the value of
375 375
                 subsequent-author-substitute substitutes for each rendered name. */
376 376
                 case SubsequentAuthorSubstituteRule::COMPLETE_EACH:
377 377
                     try {
Please login to merge, or discard this patch.
src/Util/Variables.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@
 block discarded – undo
44 44
         'chapter-number', // chapter number
45 45
         'collection-number', // number identifying the collection holding the item (e.g. the series number for a book)
46 46
         'edition', // (container) edition holding the item (e.g. “3” when citing a chapter in the third
47
-                              // edition of a book)
47
+                                // edition of a book)
48 48
         'issue', // (container) issue holding the item (e.g. “5” when citing a journal article from
49
-                              // journal volume 2, issue 5)
49
+                                // journal volume 2, issue 5)
50 50
         'number', // number identifying the item (e.g. a report number)
51 51
         'number-of-pages', // total number of pages of the cited item
52 52
         'number-of-volumes', // total number of volumes, usable for citing multi-volume books and such
Please login to merge, or discard this patch.
src/Rendering/Choose/Choose.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,9 @@  discard block
 block discarded – undo
32 32
 
33 33
     private const IF = "if";
34 34
     private const ELSE_IF = "elseif";
35
-    private const ELSE = "else";
35
+    private const ELSE {
36
+        = "else";
37
+    }
36 38
 
37 39
     private MapInterface $children;
38 40
 
@@ -60,7 +62,9 @@  discard block
 block discarded – undo
60 62
                     $elseIf->add(new ChooseElseIf($child, $this));
61 63
                     break;
62 64
                 case 'else':
63
-                    $this->children->put(self::ELSE, new ChooseElse($child, $this));
65
+                    $this->children->put(self::ELSE {
66
+                        , new ChooseElse($child, $this));
67
+                    }
64 68
                     break;
65 69
             }
66 70
         }
@@ -101,9 +105,11 @@  discard block
 block discarded – undo
101 105
         }
102 106
 
103 107
         // !$matchedIfs ensures that each previous condition has not been met
104
-        if (!$matchedIfs && $this->children->containsKey(self::ELSE)) { //ELSE
108
+        if (!$matchedIfs && $this->children->containsKey(self::ELSE {
109
+            )) { //ELSE
105 110
             $result->add($this->children->get(self::ELSE)->render($data));
106 111
         }
112
+        }
107 113
         return $result->joinToString("");
108 114
     }
109 115
 
Please login to merge, or discard this patch.