Completed
Pull Request — master (#1461)
by Rico
07:40
created
app/Census/CensusColumnAgeMale5Years.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 				$years -= $years % 5;
41 41
 			}
42 42
 
43
-			return (string)$years;
43
+			return (string) $years;
44 44
 		}
45 45
 	}
46 46
 }
Please login to merge, or discard this patch.
index_edit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 			}
128 128
 		}
129 129
 	}
130
-	if ($user_id < 0 || $gedcom_id < 0 ) {
130
+	if ($user_id < 0 || $gedcom_id < 0) {
131 131
 		header('Location: admin.php');
132 132
 	} elseif ($user_id > 0) {
133 133
 		header('Location: index.php?ctype=user&ged=' . $WT_TREE->getNameUrl());
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
 						<?= FontAwesome::decorativeIcon('save') ?>
372 372
 						<?= I18N::translate('save') ?>
373 373
 					</button>
374
-					<?php if ($user_id < 0 || $gedcom_id < 0 ): ?>
374
+					<?php if ($user_id < 0 || $gedcom_id < 0): ?>
375 375
 						<a class="btn btn-secondary" href="admin.php">
376 376
 					<?php elseif ($user_id > 0): ?>
377 377
 						<a class="btn btn-secondary" href="index.php?ctype=user&amp;ged=<?= $WT_TREE->getNameHtml() ?>">
Please login to merge, or discard this patch.
statistics.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -532,7 +532,7 @@
 block discarded – undo
532 532
 							<?= I18N::translate('Select the desired age interval') ?>
533 533
 						</label>
534 534
 						<br>
535
-						<?= Bootstrap4::select(['1,5,10,20,30,40,50,60,70,80,90,100' => I18N::plural('%s year', '%s years', 10, I18N::number(10)), '5,20,40,60,75,80,85,90' => I18N::plural('%s year', '%s years', 20, I18N::number(20)), '10,25,50,75,100' => I18N::plural('%s year', '%s years', 25, I18N::number(25)),],'1,5,10,20,30,40,50,60,70,80,90,100', ['id' => 'x-axis-boundaries-ages', 'name' => 'x-axis-boundaries-ages']) ?>
535
+						<?= Bootstrap4::select(['1,5,10,20,30,40,50,60,70,80,90,100' => I18N::plural('%s year', '%s years', 10, I18N::number(10)), '5,20,40,60,75,80,85,90' => I18N::plural('%s year', '%s years', 20, I18N::number(20)), '10,25,50,75,100' => I18N::plural('%s year', '%s years', 25, I18N::number(25)), ], '1,5,10,20,30,40,50,60,70,80,90,100', ['id' => 'x-axis-boundaries-ages', 'name' => 'x-axis-boundaries-ages']) ?>
536 536
 					</div>
537 537
 
538 538
 					<div id="x_years_m" style="display:none;">
Please login to merge, or discard this patch.
app/Module/CensusAssistantModule.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@
 block discarded – undo
286 286
 	 * @param string          $ca_title
287 287
 	 * @param string          $ca_place
288 288
 	 * @param string          $ca_citation
289
-	 * @param string[][]      $ca_individuals
289
+	 * @param string[]      $ca_individuals
290 290
 	 * @param string          $ca_notes
291 291
 	 *
292 292
 	 * @return string
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -20,15 +20,11 @@
 block discarded – undo
20 20
 use Fisharebest\Webtrees\Census\CensusInterface;
21 21
 use Fisharebest\Webtrees\Family;
22 22
 use Fisharebest\Webtrees\Filter;
23
-use Fisharebest\Webtrees\FontAwesome;
24 23
 use Fisharebest\Webtrees\Functions\FunctionsDb;
25
-use Fisharebest\Webtrees\Functions\FunctionsEdit;
26 24
 use Fisharebest\Webtrees\GedcomRecord;
27 25
 use Fisharebest\Webtrees\Html;
28 26
 use Fisharebest\Webtrees\I18N;
29 27
 use Fisharebest\Webtrees\Individual;
30
-use Fisharebest\Webtrees\Note;
31
-use Fisharebest\Webtrees\Soundex;
32 28
 use Fisharebest\Webtrees\View;
33 29
 
34 30
 /**
Please login to merge, or discard this patch.
app/Controller/IndividualListController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use Fisharebest\Webtrees\Database;
19 19
 use Fisharebest\Webtrees\Family;
20
-use Fisharebest\Webtrees\Filter;
21 20
 use Fisharebest\Webtrees\Html;
22 21
 use Fisharebest\Webtrees\I18N;
23 22
 use Fisharebest\Webtrees\Individual;
Please login to merge, or discard this patch.
app/Controller/GedcomRecordController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use Fisharebest\Webtrees\Auth;
19 19
 use Fisharebest\Webtrees\Family;
20
-use Fisharebest\Webtrees\Filter;
21 20
 use Fisharebest\Webtrees\FlashMessages;
22 21
 use Fisharebest\Webtrees\GedcomRecord;
23 22
 use Fisharebest\Webtrees\GedcomTag;
Please login to merge, or discard this patch.
app/Controller/PageController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Fisharebest\Webtrees\Auth;
19 19
 use Fisharebest\Webtrees\Database;
20 20
 use Fisharebest\Webtrees\Family;
21
-use Fisharebest\Webtrees\Filter;
22 21
 use Fisharebest\Webtrees\Functions\Functions;
23 22
 use Fisharebest\Webtrees\I18N;
24 23
 use Fisharebest\Webtrees\Individual;
Please login to merge, or discard this patch.
app/Module/LoggedInUsersModule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 namespace Fisharebest\Webtrees\Module;
17 17
 
18 18
 use Fisharebest\Webtrees\Auth;
19
-use Fisharebest\Webtrees\Filter;
20 19
 use Fisharebest\Webtrees\FontAwesome;
21 20
 use Fisharebest\Webtrees\Html;
22 21
 use Fisharebest\Webtrees\I18N;
Please login to merge, or discard this patch.
app/Query/QueryMedia.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 namespace Fisharebest\Webtrees\Query;
17 17
 
18 18
 use Fisharebest\Webtrees\Database;
19
-use Fisharebest\Webtrees\Filter;
20 19
 use Fisharebest\Webtrees\Media;
21 20
 
22 21
 /**
Please login to merge, or discard this patch.