Completed
Pull Request — master (#1854)
by Rico
149:06 queued 135:36
created
app/Http/Controllers/DescendantsChartController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -187,8 +187,8 @@  discard block
 block discarded – undo
187 187
         foreach ($person->getChildFamilies() as $cfamily) {
188 188
             foreach ($cfamily->getSpouses() as $parent) {
189 189
                 echo FontAwesome::linkIcon('arrow-up', I18N::translate('Start at parents'), ['href' => route('descendants', ['ged'         => $parent->getTree()->getName(),
190
-                                                                                                                             'xref'        => $parent->getXref(),
191
-                                                                                                                             'generations' => $generations,
190
+                                                                                                                                'xref'        => $parent->getXref(),
191
+                                                                                                                                'generations' => $generations,
192 192
                 ]),
193 193
                 ]);
194 194
                 // only show the arrow for one of the parents
@@ -268,8 +268,8 @@  discard block
 block discarded – undo
268 268
             foreach ($spouse->getChildFamilies() as $cfamily) {
269 269
                 foreach ($cfamily->getSpouses() as $parent) {
270 270
                     echo FontAwesome::linkIcon('arrow-up', I18N::translate('Start at parents'), ['href' => route('descendants', ['ged'         => $parent->getTree()->getName(),
271
-                                                                                                                                 'xref'        => $parent->getXref(),
272
-                                                                                                                                 'generations' => $generations,
271
+                                                                                                                                    'xref'        => $parent->getXref(),
272
+                                                                                                                                    'generations' => $generations,
273 273
                     ]),
274 274
                     ]);
275 275
                     // only show the arrow for one of the parents
Please login to merge, or discard this patch.
app/Http/Controllers/IndividualController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -327,8 +327,8 @@  discard block
 block discarded – undo
327 327
                 FontAwesome::linkIcon('edit', I18N::translate('Edit the name'), [
328 328
                     'class' => 'btn btn-link',
329 329
                     'href'  => route('edit-name', ['xref'    => $individual->getXref(),
330
-                                                   'fact_id' => $fact->getFactId(),
331
-                                                   'ged'     => $individual->getTree()->getName(),
330
+                                                    'fact_id' => $fact->getFactId(),
331
+                                                    'ged'     => $individual->getTree()->getName(),
332 332
                     ]),
333 333
                 ]);
334 334
         } else {
@@ -381,8 +381,8 @@  discard block
 block discarded – undo
381 381
             $edit_links = FontAwesome::linkIcon('edit', I18N::translate('Edit the gender'), [
382 382
                 'class' => 'btn btn-link',
383 383
                 'href'  => route('edit-fact', ['xref'    => $individual->getXref(),
384
-                                               'fact_id' => $fact->getFactId(),
385
-                                               'ged'     => $individual->getTree()->getName(),
384
+                                                'fact_id' => $fact->getFactId(),
385
+                                                'ged'     => $individual->getTree()->getName(),
386 386
                 ]),
387 387
             ]);
388 388
         } else {
Please login to merge, or discard this patch.
app/Module/MissingFactsReportModule.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
         return new Menu(
66 66
             $this->getTitle(),
67 67
             route('report-setup', ['ged'    => $tree->getName(),
68
-                                   'report' => $this->getName(),
68
+                                    'report' => $this->getName(),
69 69
             ]),
70 70
             'menu-report-' . $this->getName(),
71 71
             ['rel' => 'nofollow']
Please login to merge, or discard this patch.
app/Module/FamilyBookChartModule.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         return new Menu(
72 72
             $this->getTitle(),
73 73
             route('family-book', ['ged'  => $individual->getTree()->getName(),
74
-                                  'xref' => $individual->getXref(),
74
+                                    'xref' => $individual->getXref(),
75 75
             ]),
76 76
             'menu-chart-familybook',
77 77
             ['rel' => 'nofollow']
Please login to merge, or discard this patch.
app/Module/DescendancyChartModule.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         return new Menu(
72 72
             $this->getTitle(),
73 73
             route('descendants', ['ged'  => $individual->getTree()->getName(),
74
-                                  'xref' => $individual->getXref(),
74
+                                    'xref' => $individual->getXref(),
75 75
             ]),
76 76
             'menu-chart-descendants',
77 77
             ['rel' => 'nofollow']
Please login to merge, or discard this patch.
app/MediaFile.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -224,10 +224,10 @@
 block discarded – undo
224 224
             $src    = $this->imageUrl($width, $height, $fit);
225 225
             $srcset = [];
226 226
             foreach ([
227
-                         2,
228
-                         3,
229
-                         4,
230
-                     ] as $x) {
227
+                            2,
228
+                            3,
229
+                            4,
230
+                        ] as $x) {
231 231
                 $srcset[] = $this->imageUrl($width * $x, $height * $x, $fit) . ' ' . $x . 'x';
232 232
             }
233 233
         }
Please login to merge, or discard this patch.
resources/views/admin/users-edit.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
 			<?= Bootstrap4::select($contact_methods, $user->getPreference('contactmethod'), ['id' => 'contact_method', 'name' => 'contact_method']) ?>
182 182
 			<p class="small text-muted">
183 183
 				<?= /* I18N: Help text for the “Preferred contact method” configuration setting */
184
-				I18N::translate('Site members can send each other messages. You can choose to how these messages are sent to you, or choose not receive them at all.') ?>
184
+                I18N::translate('Site members can send each other messages. You can choose to how these messages are sent to you, or choose not receive them at all.') ?>
185 185
 			</p>
186 186
 		</div>
187 187
 	</div>
Please login to merge, or discard this patch.
resources/views/admin/trees-places.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 	</dl>
29 29
 
30 30
 	<button class="btn btn-primary" type="submit" value="preview"><?= /* I18N: A button label. */
31
-		I18N::translate('preview') ?></button>
31
+        I18N::translate('preview') ?></button>
32 32
 </form>
33 33
 
34 34
 <?php if ($search && $replace): ?>
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 		<form method="post" action="<?= e(route('admin-trees-places', ['ged' => $tree->getName(), 'search' => $search, 'replace' => $replace])) ?>">
53 53
 			<?= csrf_field() ?>
54 54
 			<button class="btn btn-primary" type="submit" value="update" name="confirm"><?= /* I18N: A button label. */
55
-				I18N::translate('update') ?></button>
55
+                I18N::translate('update') ?></button>
56 56
 		</form>
57 57
 	<?php endif ?>
58 58
 <?php endif ?>
Please login to merge, or discard this patch.
resources/views/admin/control-panel.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
 		<p class="card-text">
22 22
 			<?= /* I18N: %s is a URL/link to the project website */
23
-			I18N::translate('Support and documentation can be found at %s.', '<a href="https://webtrees.net/">webtrees.net</a>') ?>
23
+            I18N::translate('Support and documentation can be found at %s.', '<a href="https://webtrees.net/">webtrees.net</a>') ?>
24 24
 		</p>
25 25
 		<p class="card-text ">
26 26
 			<?php if ($latest_version === ''): ?>
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 				<?= I18N::translate('A new version of webtrees is available.') ?>
30 30
 				<a href="<?= e(route('upgrade')) ?>" class="error">
31 31
 					<?= /* I18N: %s is a version number */
32
-					I18N::translate('Upgrade to webtrees %s.', e($latest_version)) ?>
32
+                    I18N::translate('Upgrade to webtrees %s.', e($latest_version)) ?>
33 33
 				</a>
34 34
 			<?php else: ?>
35 35
 				<?= I18N::translate('This is the latest version of webtrees. No upgrade is available.') ?>
Please login to merge, or discard this patch.