Completed
Push — develop ( 7b1938...b19d5b )
by Greg
11:23
created
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
 			array(
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_SmtpTransport;
Please login to merge, or discard this patch.
app/Functions/FunctionsPrintLists.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1717,7 +1717,7 @@
 block discarded – undo
1717 1717
 					if ($endjd === $startjd) {
1718 1718
 						$html .= I18N::translate('No events exist for tomorrow.');
1719 1719
 					} else {
1720
-						$html .=  /* I18N: translation for %s==1 is unused; it is translated separately as “tomorrow” */ I18N::plural('No events exist for the next %s day.', 'No events exist for the next %s days.', $endjd - $startjd + 1, I18N::number($endjd - $startjd + 1));
1720
+						$html .= /* I18N: translation for %s==1 is unused; it is translated separately as “tomorrow” */ I18N::plural('No events exist for the next %s day.', 'No events exist for the next %s days.', $endjd - $startjd + 1, I18N::number($endjd - $startjd + 1));
1721 1721
 					}
1722 1722
 				} else {
1723 1723
 					if ($endjd === $startjd) {
Please login to merge, or discard this patch.
admin_media.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\AjaxController;
19 19
 use Fisharebest\Webtrees\Controller\PageController;
20
-use Fisharebest\Webtrees\Functions\FunctionsEdit;
21 20
 
22 21
 define('WT_SCRIPT_NAME', 'admin_media.php');
23 22
 require './includes/session.php';
Please login to merge, or discard this patch.
admin_site_access.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;
17 17
 
18 18
 use Fisharebest\Webtrees\Controller\PageController;
19
-use Fisharebest\Webtrees\Functions\FunctionsEdit;
20 19
 use PDO;
21 20
 
22 21
 define('WT_SCRIPT_NAME', 'admin_site_access.php');
Please login to merge, or discard this patch.
admin_site_change.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\Algorithm\MyersDiff;
19 19
 use Fisharebest\Webtrees\Controller\PageController;
20
-use Fisharebest\Webtrees\Functions\FunctionsEdit;
21 20
 use PDO;
22 21
 
23 22
 /**
Please login to merge, or discard this patch.
admin_site_config.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;
17 17
 
18 18
 use Fisharebest\Webtrees\Controller\PageController;
19
-use Fisharebest\Webtrees\Functions\FunctionsEdit;
20 19
 
21 20
 define('WT_SCRIPT_NAME', 'admin_site_config.php');
22 21
 require './includes/session.php';
Please login to merge, or discard this patch.
admin_site_logs.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;
17 17
 
18 18
 use Fisharebest\Webtrees\Controller\PageController;
19
-use Fisharebest\Webtrees\Functions\FunctionsEdit;
20 19
 use PDO;
21 20
 
22 21
 /**
Please login to merge, or discard this patch.
admin_trees_config.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 global $WT_TREE;
24 24
 
25 25
 use Fisharebest\Webtrees\Controller\PageController;
26
-use Fisharebest\Webtrees\Functions\FunctionsEdit;
27 26
 
28 27
 define('WT_SCRIPT_NAME', 'admin_trees_config.php');
29 28
 
Please login to merge, or discard this patch.