Completed
Push — develop ( d3f7e9...94a5af )
by Greg
09:05
created
app/Date/CalendarDate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -842,7 +842,7 @@
 block discarded – undo
842 842
 	/**
843 843
 	 * Which months follows this one? Calendars with leap-months should provide their own implementation.
844 844
 	 *
845
-	 * @return int[]
845
+	 * @return integer[]
846 846
 	 */
847 847
 	protected function nextMonth() {
848 848
 		return [$this->m === $this->calendar->monthsInYear() ? $this->nextYear($this->y) : $this->y, ($this->m % $this->calendar->monthsInYear()) + 1];
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
@@ -85,8 +85,7 @@
 block discarded – undo
85 85
 		// Create the underlying PDO object
86 86
 		self::$pdo = new PDO(
87 87
 			(substr($DBHOST, 0, 1) === '/' ?
88
-				"mysql:unix_socket={$DBHOST};dbname={$DBNAME}" :
89
-				"mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}"
88
+				"mysql:unix_socket={$DBHOST};dbname={$DBNAME}" : "mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}"
90 89
 			),
91 90
 			$DBUSER, $DBPASS,
92 91
 			[
Please login to merge, or discard this patch.
descendancy.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\Controller\DescendancyController;
19 19
 use Fisharebest\Webtrees\Functions\FunctionsEdit;
20
-use Fisharebest\Webtrees\Functions\FunctionsPrint;
21 20
 use Fisharebest\Webtrees\Functions\FunctionsPrintLists;
22 21
 
23 22
 /** @global Tree $WT_TREE */
Please login to merge, or discard this patch.
app/Module/StoriesModule.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -381,7 +381,8 @@  discard block
 block discarded – undo
381 381
 						<a href="<?= $individual->getHtmlUrl() ?>#tab-stories">
382 382
 							<?= $individual->getFullName() ?>
383 383
 						</a>
384
-						<?php else: ?>
384
+						<?php else {
385
+	: ?>
385 386
 							<?= $story->xref ?>
386 387
 						<?php endif ?>
387 388
 						</td>
@@ -410,6 +411,7 @@  discard block
 block discarded – undo
410 411
 	 */
411 412
 	private function showList() {
412 413
 		global $controller, $WT_TREE;
414
+}
413 415
 
414 416
 		$controller = new PageController;
415 417
 		$controller
Please login to merge, or discard this patch.
relationship.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,8 @@  discard block
 block discarded – undo
84 84
 			<?php if ($ancestors_only === '1'): ?>
85 85
 				<input type="hidden" name="ancestors" value="1">
86 86
 				<?= I18N::translate('Find relationships via ancestors') ?>
87
-			<?php else: ?>
87
+			<?php else {
88
+	: ?>
88 89
 				<?= Bootstrap4::radioButtons('ancestors', ['0' => I18N::translate('Find any relationship'), '1' => I18N::translate('Find relationships via ancestors')], $ancestors, false) ?>
89 90
 		<?php endif ?>
90 91
 		</div>
@@ -114,6 +115,7 @@  discard block
 block discarded – undo
114 115
 if ($person1 && $person2) {
115 116
 	if (I18N::direction() === 'ltr') {
116 117
 		$horizontal_arrow = '<br><i class="icon-rarrow"></i>';
118
+}
117 119
 		$diagonal1        = Theme::theme()->parameter('image-dline');
118 120
 		$diagonal2        = Theme::theme()->parameter('image-dline2');
119 121
 	} else {
Please login to merge, or discard this patch.
app/Mail.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 namespace Fisharebest\Webtrees;
17 17
 
18 18
 use Exception;
19
-use Swift_Mailer;
20 19
 use Swift_MailTransport;
20
+use Swift_Mailer;
21 21
 use Swift_Message;
22 22
 use Swift_NullTransport;
23 23
 use Swift_Preferences;
Please login to merge, or discard this patch.
app/Theme/CloudsTheme.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\Theme;
17 17
 
18 18
 use Fisharebest\Webtrees\I18N;
19
-use Fisharebest\Webtrees\Menu;
20 19
 use Fisharebest\Webtrees\Theme;
21 20
 
22 21
 /**
Please login to merge, or discard this patch.