Passed
Push — develop-3.3.x ( b7db6e...7c86e5 )
by Mario
02:29
created
actions/vars.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
 		config $config,
42 42
 		language $language,
43 43
 		user $user
44
-	)
45
-	{
44
+	) {
46 45
 		$this->actions_core = $actions_core;
47 46
 		$this->actions_currency = $actions_currency;
48 47
 		$this->config = $config;
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -73,14 +73,14 @@
 block discarded – undo
73 73
 	private function populate_template_vars(): array
74 74
 	{
75 75
 		return [
76
-			['var' => '{USER_ID}',         'value' => $this->user->data['user_id']],
77
-			['var' => '{USERNAME}',        'value' => $this->user->data['username']],
78
-			['var' => '{SITE_NAME}',       'value' => $this->config['sitename']],
79
-			['var' => '{SITE_DESC}',       'value' => $this->config['site_desc']],
80
-			['var' => '{BOARD_CONTACT}',   'value' => $this->config['board_contact']],
81
-			['var' => '{BOARD_EMAIL}',     'value' => $this->config['board_email']],
82
-			['var' => '{BOARD_SIG}',       'value' => $this->config['board_email_sig']],
83
-			['var' => '{DONATION_GOAL}',   'value' => $this->actions_currency->format_currency((float) $this->config['ppde_goal'])],
76
+			['var' => '{USER_ID}', 'value' => $this->user->data['user_id']],
77
+			['var' => '{USERNAME}', 'value' => $this->user->data['username']],
78
+			['var' => '{SITE_NAME}', 'value' => $this->config['sitename']],
79
+			['var' => '{SITE_DESC}', 'value' => $this->config['site_desc']],
80
+			['var' => '{BOARD_CONTACT}', 'value' => $this->config['board_contact']],
81
+			['var' => '{BOARD_EMAIL}', 'value' => $this->config['board_email']],
82
+			['var' => '{BOARD_SIG}', 'value' => $this->config['board_email_sig']],
83
+			['var' => '{DONATION_GOAL}', 'value' => $this->actions_currency->format_currency((float) $this->config['ppde_goal'])],
84 84
 			['var' => '{DONATION_RAISED}', 'value' => $this->actions_currency->format_currency((float) $this->config['ppde_raised'])],
85 85
 		];
86 86
 	}
Please login to merge, or discard this patch.
entity/main.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,7 @@
 block discarded – undo
48 48
 		$lang_key_suffix = '',
49 49
 		$table_name = '',
50 50
 		$table_schema = []
51
-	)
52
-	{
51
+	) {
53 52
 		$this->db = $db;
54 53
 		$this->language = $language;
55 54
 		$this->lang_key_prefix = $lang_key_prefix;
Please login to merge, or discard this patch.
entity/donation_pages.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
 		language $language,
59 59
 		user $user,
60 60
 		$table_name
61
-	)
62
-	{
61
+	) {
63 62
 		$this->config = $config;
64 63
 		$this->donation_pages_table = $table_name;
65 64
 		$this->user = $user;
Please login to merge, or discard this patch.
controller/admin/transactions_controller.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
 		string $php_ext,
101 101
 		string $table_prefix,
102 102
 		string $table_ppde_transactions
103
-	)
104
-	{
103
+	) {
105 104
 		$this->auth = $auth;
106 105
 		$this->config = $config;
107 106
 		$this->container = $container;
Please login to merge, or discard this patch.
controller/admin/donation_pages_controller.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
 		user $user,
71 71
 		string $phpbb_root_path,
72 72
 		string $php_ext
73
-	)
74
-	{
73
+	) {
75 74
 		$this->container = $container;
76 75
 		$this->language = $language;
77 76
 		$this->log = $log;
Please login to merge, or discard this patch.
event/listener.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
 		main_display_stats $ppde_controller_display_stats,
53 53
 		template $template,
54 54
 		string $php_ext
55
-	)
56
-	{
55
+	) {
57 56
 		$this->config = $config;
58 57
 		$this->controller_helper = $controller_helper;
59 58
 		$this->language = $language;
Please login to merge, or discard this patch.
actions/auth.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@
 block discarded – undo
34 34
 		\phpbb\config\config $config,
35 35
 		$phpbb_root_path,
36 36
 		$php_ext
37
-	)
38
-	{
37
+	) {
39 38
 		$this->auth = $auth;
40 39
 		$this->config = $config;
41 40
 		$this->phpbb_root_path = $phpbb_root_path;
Please login to merge, or discard this patch.
language/fr/donate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
 $lang = array_merge($lang, [
78 78
 	'PPDE_DONORS' => [
79
-		1 => '%d donateur',  // 1
79
+		1 => '%d donateur', // 1
80 80
 		2 => '%d donateurs', // 2+
81 81
 	],
82 82
 ]);
Please login to merge, or discard this patch.
language/en/donate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
 $lang = array_merge($lang, [
78 78
 	'PPDE_DONORS' => [
79
-		1 => '%d donor',  // 1
79
+		1 => '%d donor', // 1
80 80
 		2 => '%d donors', // 2+
81 81
 	],
82 82
 ]);
Please login to merge, or discard this patch.