Passed
Pull Request — main (#5055)
by
unknown
08:48 queued 33s
created
app/Report/ReportParserGenerate.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1021,7 +1021,7 @@  discard block
 block discarded – undo
1021 1021
                 $this->current_element->addText(I18N::translate('Private'));
1022 1022
             } elseif ($nameselect == 'latest') {
1023 1023
                 $tmp = $record->getAllNames();
1024
-                $name  = strip_tags($tmp[count($tmp) - 1]['full']);
1024
+                $name = strip_tags($tmp[count($tmp) - 1]['full']);
1025 1025
                 $this->current_element->addText(trim($name));
1026 1026
             } elseif ($nameselect == 'combined') {
1027 1027
                 $tmp = $record->getAllNames();
@@ -1102,7 +1102,7 @@  discard block
 block discarded – undo
1102 1102
                 $value = $this->getGedcomValue($tag, $level, $this->gedrec);
1103 1103
                 switch (end($tags)) {
1104 1104
                     case 'DATE':
1105
-                        $tmp   = new Date($value);
1105
+                        $tmp = new Date($value);
1106 1106
                         $dfmt = "%j %F %Y";
1107 1107
                         if (!empty($attrs['truncate'])) {
1108 1108
                             if ($attrs['truncate'] === "d") {
@@ -1142,7 +1142,7 @@  discard block
 block discarded – undo
1142 1142
 
1143 1143
                 if (isset($attrs['lcfirst'])) {
1144 1144
                     $value = lcfirst($value);
1145
-                    $value = str_replace(["Å","Ä","Ö"], ["å","ä","ö"], $value);
1145
+                    $value = str_replace(["Å", "Ä", "Ö"], ["å", "ä", "ö"], $value);
1146 1146
                 }
1147 1147
 
1148 1148
                 if (!empty($attrs['truncate'])) {
Please login to merge, or discard this patch.
app/Report/ReportHtmlImage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
                 if ($this->width <= 30) {
69 69
                     $maxh = "max-height:40pt;";
70 70
                 }
71
-                echo '<img src="', $this->file, '" style="position:absolute;', $renderer->alignRTL, ':', $this->x, 'pt;top:', $this->y, 'pt;width:', $this->width, 'pt;',$maxh, ' alt="">\n';
71
+                echo '<img src="', $this->file, '" style="position:absolute;', $renderer->alignRTL, ':', $this->x, 'pt;top:', $this->y, 'pt;width:', $this->width, 'pt;', $maxh, ' alt="">\n';
72 72
         }
73 73
 
74 74
         $lastpicpage   = $renderer->pageNo();
Please login to merge, or discard this patch.
app/Report/ReportHtmlTextbox.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                         $lastelement   = $element;
69 69
                     }
70 70
                 } elseif ($element instanceof ReportHtmlImage) {
71
-                    $lastelement   = $element;
71
+                    $lastelement = $element;
72 72
                 } elseif ($element instanceof ReportHtmlFootnote) {
73 73
                     // Check if the Footnote has been set with it’s link number
74 74
                     $renderer->checkFootnote($element);
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
         $renderer->setXy($cXT, $cYT);
301 301
         // This will be mostly used to trick the multiple images last height
302 302
         if ($this->reseth) {
303
-            $this->top = $first_Y;  //- $cH;
303
+            $this->top = $first_Y; //- $cH;
304 304
             $cH = 0;
305 305
         }
306 306
          // New line and some clean up
Please login to merge, or discard this patch.
app/Report/ReportPdfTextBox.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
             $cY = $renderer->tcpdf->GetY();
145 145
         } else {
146 146
             $align_Y = true;
147
-            $this->top = $renderer->tcpdf->GetY();   // ReportBaseElement::CURRENT_POSITION;
147
+            $this->top = $renderer->tcpdf->GetY(); // ReportBaseElement::CURRENT_POSITION;
148 148
             if ($this->top_position != 0) {
149 149
                 $this->top += $this->top_position;
150 150
             }
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
         $curr_P = $renderer->tcpdf->getPage();
350 350
         // New line and some clean up
351 351
         if (!$this->newline) {
352
-            $renderer->tcpdf->setXY($cX + $cW, $cY);   // $curr_Y);
352
+            $renderer->tcpdf->setXY($cX + $cW, $cY); // $curr_Y);
353 353
             $renderer->lastCellHeight = $cH;
354 354
         } else {
355 355
             // addMarginX() also updates X
Please login to merge, or discard this patch.