Completed
Push — openstreetmap ( 06e980...b3792a )
by Greg
09:33
created
admin_site_upgrade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
 // Check for updates
30 30
 $latest_version_txt = Functions::fetchLatestVersion();
31 31
 if (preg_match('/^[0-9.]+\|[0-9.]+\|/', $latest_version_txt)) {
32
-	list($latest_version, , $download_url) = explode('|', $latest_version_txt);
32
+	list($latest_version,, $download_url) = explode('|', $latest_version_txt);
33 33
 } else {
34 34
 	// Cannot determine the latest version
35
-	list($latest_version, , $download_url) = explode('|', '||');
35
+	list($latest_version,, $download_url) = explode('|', '||');
36 36
 }
37 37
 
38 38
 $latest_version_html = '<span dir="ltr">' . $latest_version . '</span>';
Please login to merge, or discard this patch.
app/Database.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@
 block discarded – undo
78 78
 		// Create the underlying PDO object
79 79
 		self::$pdo = new PDO(
80 80
 			(substr($config['dbhost'], 0, 1) === '/' ?
81
-				"mysql:unix_socket={$config['dbhost']};dbname={$config['dbname']}" :
82
-				"mysql:host={$config['dbhost']};dbname={$config['dbname']};port={$config['dbport']}"
81
+				"mysql:unix_socket={$config['dbhost']};dbname={$config['dbname']}" : "mysql:host={$config['dbhost']};dbname={$config['dbname']};port={$config['dbport']}"
83 82
 			),
84 83
 			$config['dbuser'], $config['dbpass'],
85 84
 			[
Please login to merge, or discard this patch.
app/Module/StoriesModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 
95 95
 	/** {@inheritdoc} */
96 96
 	public function hasTabContent(Individual $individual) {
97
-		return Auth::isManager($individual->getTree() )|| !empty($this->getStoriesForIndividual($individual));
97
+		return Auth::isManager($individual->getTree()) || !empty($this->getStoriesForIndividual($individual));
98 98
 	}
99 99
 
100 100
 	/** {@inheritdoc} */
Please login to merge, or discard this patch.
resources/views/sidebars/individuals.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 <?php use Fisharebest\Webtrees\Theme; ?>
4 4
 <?php use Fisharebest\Webtrees\View; ?>
5 5
 
6
-<form method="post" action="<?= e(Html::url('module.php' ,['mod' => 'individuals', 'mod_action' => 'ajax'])) ?>" onsubmit="return false;">
6
+<form method="post" action="<?= e(Html::url('module.php', ['mod' => 'individuals', 'mod_action' => 'ajax'])) ?>" onsubmit="return false;">
7 7
 	<input type="search" name="sb_indi_name" id="sb_indi_name" placeholder="<?= I18N::translate('Search') ?>">
8 8
 	<p>
9 9
 		<?php foreach ($initials as $letter => $count): ?>
Please login to merge, or discard this patch.
resources/views/sidebars/families.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 <?php use Fisharebest\Webtrees\Theme; ?>
4 4
 <?php use Fisharebest\Webtrees\View; ?>
5 5
 
6
-<form method="post" action="<?= e(Html::url('module.php' ,['mod' => 'families', 'mod_action' => 'ajax'])) ?>" onsubmit="return false;">
6
+<form method="post" action="<?= e(Html::url('module.php', ['mod' => 'families', 'mod_action' => 'ajax'])) ?>" onsubmit="return false;">
7 7
 	<input type="search" name="sb_fam_name" id="sb_fam_name" placeholder="<?= I18N::translate('Search') ?>">
8 8
 	<p>
9 9
 		<?php foreach ($initials as $letter => $count): ?>
Please login to merge, or discard this patch.
app/Module/ChartsBlockModule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 					]);
86 86
 					break;
87 87
 				case 'descendants':
88
-					$title           = I18N::translate('Descendants of %s', $person->getFullName());
88
+					$title = I18N::translate('Descendants of %s', $person->getFullName());
89 89
 					$chart_url = route('descendants-chart', [
90 90
 						'xref'        => $person->getXref(),
91 91
 						'ged'         => $person->getTree()->getName(),
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 					]);
99 99
 					break;
100 100
 				case 'hourglass':
101
-					$title           = I18N::translate('Hourglass chart of %s', $person->getFullName());
101
+					$title = I18N::translate('Hourglass chart of %s', $person->getFullName());
102 102
 					$chart_url = route('hourglass-chart', [
103 103
 						'xref'        => $person->getXref(),
104 104
 						'ged'         => $person->getTree()->getName(),
Please login to merge, or discard this patch.
resources/views/edit-account-page.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 				<?= I18N::translate('Theme') ?>
147 147
 			</label>
148 148
 			<div class="col-sm-9 wt-page-options-value">
149
-				<?= Bootstrap4::select($themes, $user->getPreference('theme'), ['id' => 'theme', 'name' => 'theme', 'aria-describedby' => 'theme-description',]) ?>
149
+				<?= Bootstrap4::select($themes, $user->getPreference('theme'), ['id' => 'theme', 'name' => 'theme', 'aria-describedby' => 'theme-description', ]) ?>
150 150
 				<p class="small text-muted" id="theme-description">
151 151
 					<?= /* I18N: Help text for the "Default theme" site configuration setting */
152 152
 					I18N::translate('You can change the appearance of webtrees using “themes”. Each theme has a different style, layout, color scheme, etc.') ?>
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 			<?= I18N::translate('Contact method') ?>
161 161
 		</label>
162 162
 		<div class="col-sm-9 wt-page-options-value">
163
-			<?= Bootstrap4::select($contact_methods, $user->getPreference('contactmethod'), ['id' => 'contact-method', 'name' => 'contact_method', 'aria-describedby' => 'contact-method-description',]) ?>
163
+			<?= Bootstrap4::select($contact_methods, $user->getPreference('contactmethod'), ['id' => 'contact-method', 'name' => 'contact_method', 'aria-describedby' => 'contact-method-description', ]) ?>
164 164
 			<p class="small text-muted" id="contact-method-description">
165 165
 			<?= 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.') ?>
166 166
 			</p>
Please login to merge, or discard this patch.
resources/views/pending-changes-page.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 									<?php endforeach ?>
75 75
 								</td>
76 76
 								<td>
77
-									<a href="<?= e(route('message', ['to' => $record_change->user_name, 'subject' => I18N::translate('Pending changes') . ' - ' . strip_tags($record_change->record->getFullName()), 'body' => WT_BASE_URL . $record_change->record->url(), 'ged' => $record_change->gedcom_name,])) ?>" title="<?= I18N::translate('Send a message') ?>">
77
+									<a href="<?= e(route('message', ['to' => $record_change->user_name, 'subject' => I18N::translate('Pending changes') . ' - ' . strip_tags($record_change->record->getFullName()), 'body' => WT_BASE_URL . $record_change->record->url(), 'ged' => $record_change->gedcom_name, ])) ?>" title="<?= I18N::translate('Send a message') ?>">
78 78
 										<?= e($record_change->real_name) ?> - <?= e($record_change->user_name) ?>
79 79
 									</a>
80 80
 								</td>
Please login to merge, or discard this patch.
app/Place.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 	 */
117 117
 	public function getURL() {
118 118
 		 return e(route('place-hierarchy',
119
-			['parent' => array_reverse($this->gedcom_place),'ged' => $this->tree->getNameUrl()]));
119
+			['parent' => array_reverse($this->gedcom_place), 'ged' => $this->tree->getNameUrl()]));
120 120
 	}
121 121
 
122 122
 	/**
Please login to merge, or discard this patch.