Completed
Pull Request — master (#1904)
by Rico
09:54
created
app/Fact.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * webtrees: online genealogy
5 5
  * Copyright (C) 2018 webtrees development team
Please login to merge, or discard this patch.
app/Source.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * webtrees: online genealogy
5 5
  * Copyright (C) 2018 webtrees development team
Please login to merge, or discard this patch.
app/Mail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * webtrees: online genealogy
5 5
  * Copyright (C) 2018 webtrees development team
Please login to merge, or discard this patch.
app/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * webtrees: online genealogy
5 5
  * Copyright (C) 2018 webtrees development team
Please login to merge, or discard this patch.
app/DebugBar/ViewCollector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * webtrees: online genealogy
5 5
  * Copyright (C) 2018 webtrees development team
Please login to merge, or discard this patch.
app/Report/ReportPdfPageheader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * webtrees: online genealogy
5 5
  * Copyright (C) 2018 webtrees development team
Please login to merge, or discard this patch.
app/Report/ReportPdfFootnote.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * webtrees: online genealogy
5 5
  * Copyright (C) 2018 webtrees development team
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         if ($this->wrapWidthRemaining > 0) {
111 111
             // Check with line counter too!
112 112
             // but floor the $wrapWidthRemaining first to keep it bugfree!
113
-            $wrapWidthRemaining = (int)($this->wrapWidthRemaining);
113
+            $wrapWidthRemaining = (int) ($this->wrapWidthRemaining);
114 114
             if ($lw >= $wrapWidthRemaining || $lfct > 1) {
115 115
                 $newtext = '';
116 116
                 $lines   = explode("\n", $this->numText);
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
                                     $newtext .= ' ';
133 133
                                 }
134 134
                             } else {
135
-                                $lw      = $pdf->GetStringWidth($word . ' ');
135
+                                $lw = $pdf->GetStringWidth($word . ' ');
136 136
                                 $newtext .= "\n$word";
137 137
                                 if ($addspace != 0) {
138 138
                                     $newtext .= ' ';
Please login to merge, or discard this patch.
app/Report/ReportParserBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * webtrees: online genealogy
5 5
  * Copyright (C) 2018 webtrees development team
Please login to merge, or discard this patch.
app/Report/ReportPdfText.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * webtrees: online genealogy
5 5
  * Copyright (C) 2018 webtrees development team
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
         if ($this->wrapWidthRemaining > 0) {
126 126
             // Check with line counter too!
127 127
             // but floor the $wrapWidthRemaining first to keep it bugfree!
128
-            $wrapWidthRemaining = (int)($this->wrapWidthRemaining);
128
+            $wrapWidthRemaining = (int) ($this->wrapWidthRemaining);
129 129
             if ($lw >= $wrapWidthRemaining || $lfct > 1) {
130 130
                 $newtext = '';
131 131
                 $lines   = explode("\n", $this->text);
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
                                     $newtext .= ' ';
148 148
                                 }
149 149
                             } else {
150
-                                $lw      = $pdf->GetStringWidth($word . ' ');
150
+                                $lw = $pdf->GetStringWidth($word . ' ');
151 151
                                 $newtext .= "\n$word";
152 152
                                 if ($addspace != 0) {
153 153
                                     $newtext .= ' ';
Please login to merge, or discard this patch.