Completed
Push — develop ( 20fb07...9087a8 )
by Greg
24:52
created
admin_users.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -770,13 +770,15 @@
 block discarded – undo
770 770
 		<p>
771 771
 		<?php if ($ucnt): ?>
772 772
 			<input type="submit" value="<?= I18N::translate('delete') ?>">
773
-			<?php else: ?>
773
+			<?php else {
774
+	: ?>
774 775
 			<?= I18N::translate('Nothing found to cleanup') ?>
775 776
 			<?php endif ?>
776 777
 		</p>
777 778
 	</form>
778 779
 	<?php
779 780
 	break;
781
+}
780 782
 
781 783
 case 'cleanup2':
782 784
 	foreach (User::all() as $user) {
Please login to merge, or discard this patch.
app/Module/BatchUpdateModule.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,8 @@  discard block
 block discarded – undo
235 235
 					<?php // Reset - otherwise we might "undo all changes", which refreshes the ?>
236 236
 					<?php // page, which makes them all again!  ?>
237 237
 					<script>reset_reload();</script>
238
-			<?php else: ?>
238
+			<?php else {
239
+	: ?>
239 240
 					<hr>
240 241
 					<div id="batch_update2" class="col-sm-12">
241 242
 						<?php if ($this->curr_xref): ?>
@@ -273,6 +274,7 @@  discard block
 block discarded – undo
273 274
 		foreach (array_keys($this->all_xrefs) as $key) {
274 275
 			if ($key > $xref) {
275 276
 				$record = self::getLatestRecord($key, $this->all_xrefs[$key]);
277
+}
276 278
 				if ($this->PLUGIN->doesRecordNeedUpdate($key, $record)) {
277 279
 					return $key;
278 280
 				}
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/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/Functions/FunctionsDb.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use Fisharebest\Webtrees\Date\JulianDate;
27 27
 use Fisharebest\Webtrees\Fact;
28 28
 use Fisharebest\Webtrees\Family;
29
-use Fisharebest\Webtrees\Filter;
30 29
 use Fisharebest\Webtrees\I18N;
31 30
 use Fisharebest\Webtrees\Individual;
32 31
 use Fisharebest\Webtrees\Note;
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.
app/Controller/SearchController.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\Bootstrap4;
20
-use Fisharebest\Webtrees\Config;
21 20
 use Fisharebest\Webtrees\Family;
22 21
 use Fisharebest\Webtrees\Filter;
23 22
 use Fisharebest\Webtrees\FlashMessages;
Please login to merge, or discard this patch.
app/CommonMark/XrefParser.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@
 block discarded – undo
17 17
 
18 18
 use Fisharebest\Webtrees\GedcomRecord;
19 19
 use Fisharebest\Webtrees\Tree;
20
+use League\CommonMark\InlineParserContext;
20 21
 use League\CommonMark\Inline\Element\Link;
21 22
 use League\CommonMark\Inline\Parser\AbstractInlineParser;
22
-use League\CommonMark\InlineParserContext;
23 23
 
24 24
 /**
25 25
  * Convert XREFs within markdown text to links
Please login to merge, or discard this patch.
app/Filter.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\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.