Passed
Push — master ( a7aa61...6609d4 )
by John
08:55
created
tests/bootstrap.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 require_once './src/ManageUltimateMenu.php';
6 6
 require_once './src/Subs-UltimateMenu.php';
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 ];
25 25
 $modSettings = ['lastActive' => 0, 'settings_updated' => 0, 'postmod_active' => false];
26 26
 
27
-$smcFunc['db_query'] = function ($name, $query, $args)
27
+$smcFunc['db_query'] = function($name, $query, $args)
28 28
 {
29 29
 	global $current_item, $modSettings;
30 30
 
@@ -35,22 +35,22 @@  discard block
 block discarded – undo
35 35
 
36 36
 	return [['']];
37 37
 };
38
-$smcFunc['db_fetch_assoc'] = function ($request)
38
+$smcFunc['db_fetch_assoc'] = function($request)
39 39
 {
40 40
 	global $current_item;
41 41
 
42 42
 	return $request[$current_item++] ?? null;
43 43
 };
44
-$smcFunc['db_fetch_row'] = function ($request)
44
+$smcFunc['db_fetch_row'] = function($request)
45 45
 {
46 46
 	global $current_item;
47 47
 
48 48
 	return $request[$current_item++] ?? null;
49 49
 };
50
-$smcFunc['db_free_result'] = function (): void
50
+$smcFunc['db_free_result'] = function(): void
51 51
 {
52 52
 };
53
-$smcFunc['db_insert'] = function (): void
53
+$smcFunc['db_insert'] = function(): void
54 54
 {
55 55
 };
56 56
 require_once './vendor/simplemachines/smf2.1/Sources/Load.php';
Please login to merge, or discard this patch.