Passed
Push — master ( 932680...d062ce )
by John
01:56
created
src/Subs-UltimateMenu.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
 	$admin_areas['config']['areas']['umen'] = array(
192 192
 		'label' => $txt['um_admin_menu'],
193 193
 		'file' => 'ManageUltimateMenu.php',
194
-		'function' => function () {
194
+		'function' => function() {
195 195
 			new ManageUltimateMenu;
196 196
 		},
197 197
 		'icon' => 'umen.png',
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,8 @@
 block discarded – undo
191 191
 	$admin_areas['config']['areas']['umen'] = array(
192 192
 		'label' => $txt['um_admin_menu'],
193 193
 		'file' => 'ManageUltimateMenu.php',
194
-		'function' => function () {
194
+		'function' => function ()
195
+		{
195 196
 			new ManageUltimateMenu;
196 197
 		},
197 198
 		'icon' => 'umen.png',
Please login to merge, or discard this patch.
src/ManageUltimateMenu.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 		printf('
58 58
 								<option value="%s"%s>%s...</option>',
59 59
 			$v,
60
-			$context['button_data']['position'] ==  $v ? ' selected="selected"' : '',
60
+			$context['button_data']['position'] == $v ? ' selected="selected"' : '',
61 61
 			$txt['um_menu_' . $v]);
62 62
 
63 63
 	echo '
Please login to merge, or discard this patch.
src/ManageUltimateMenu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@
 block discarded – undo
329 329
 			if (is_numeric($menu_entry['name']))
330 330
 				$post_errors['name'] = 'um_menu_numeric';
331 331
 
332
-			// Let's make sure you're not trying to make a name that's already taken.
332
+			// Let's make sure you're not trying to make a name that's already taken .
333 333
 			$check = $this->um->checkButton($menu_entry['id'], $menu_entry['name']);
334 334
 			if ($check > 0)
335 335
 				$post_errors['name'] = 'um_menu_mysql';
Please login to merge, or discard this patch.