Passed
Branch master (380e00)
by Greg
20:17
created
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/Filter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@
 block discarded – undo
334 334
 	 * @param string|null $regexp
335 335
 	 * @param string      $default
336 336
 	 *
337
-	 * @return string[]|string[][]
337
+	 * @return string[]
338 338
 	 */
339 339
 	public static function postArray($variable, $regexp = null, $default = '') {
340 340
 		return self::inputArray(INPUT_POST, $variable, $regexp, $default);
Please login to merge, or discard this 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\CommonMark\CensusTableExtension;
19 19
 use Fisharebest\Webtrees\CommonMark\XrefExtension;
20
-use Fisharebest\Webtrees\CommonMark\XrefParser;
21 20
 use League\CommonMark\Block\Renderer\DocumentRenderer;
22 21
 use League\CommonMark\Block\Renderer\ParagraphRenderer;
23 22
 use League\CommonMark\Converter;
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/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.
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/Module/ClippingsCartModule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Fisharebest\Webtrees\Family;
21 21
 use Fisharebest\Webtrees\Filter;
22 22
 use Fisharebest\Webtrees\GedcomRecord;
23
-use Fisharebest\Webtrees\Html;
24 23
 use Fisharebest\Webtrees\I18N;
25 24
 use Fisharebest\Webtrees\Individual;
26 25
 use Fisharebest\Webtrees\Menu;
Please login to merge, or discard this patch.