Passed
Push — master ( 85689a...de18bc )
by Dark❶
02:21
created
core/memberavatarstatus.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -75,10 +75,10 @@  discard block
 block discarded – undo
75 75
 	)
76 76
 	{
77 77
 		$this->auth				= $auth;
78
-		$this->config			= $config;
78
+		$this->config = $config;
79 79
 		$this->user				= $user;
80
-		$this->phpbb_log		= $phpbb_log;
81
-		$this->phpbb_root_path	= $phpbb_root_path;
80
+		$this->phpbb_log = $phpbb_log;
81
+		$this->phpbb_root_path = $phpbb_root_path;
82 82
 	}
83 83
 
84 84
 
@@ -381,8 +381,8 @@  discard block
 block discarded – undo
381 381
 		$start_wrap = '<div class="mas-wrap">';
382 382
 		$start_username = '<div class="mas-username">';
383 383
 		$end_tag = '</div>';
384
-		$avatar_test = ($this->config['allow_avatar'] && $this->config[$config_key . '_av']) ? true : false ;
385
-		$online_test = ($this->config['load_onlinetrack'] && $this->config[$config_key . '_ol']) ? true : false ;
384
+		$avatar_test = ($this->config['allow_avatar'] && $this->config[$config_key . '_av']) ? true : false;
385
+		$online_test = ($this->config['load_onlinetrack'] && $this->config[$config_key . '_ol']) ? true : false;
386 386
 		$avatar_wrap = ($avatar_test) ? $this->mas_get_avatar_img($avatar, $this->config[$config_key . '_av_sz']) : '';
387 387
 		$online_wrap = ($online_test) ? $this->mas_get_online_status_dot($online) : '';
388 388
 		return ($avatar_test || $online_test) ? ($start_wrap . $avatar_wrap . $start_username . $username . $end_tag . $online_wrap . $end_tag) : $username;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
 		user				$user,
73 73
 		log					$phpbb_log,
74 74
 		$phpbb_root_path
75
-	)
76
-	{
75
+	) {
77 76
 		$this->auth				= $auth;
78 77
 		$this->config			= $config;
79 78
 		$this->user				= $user;
Please login to merge, or discard this patch.
event/listener.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,12 +56,12 @@
 block discarded – undo
56 56
 		config				$config,
57 57
 		user				$user,
58 58
 		template			$template
59
-	){
60
-		$this->mas_func		= $mas_func;
59
+	) {
60
+		$this->mas_func = $mas_func;
61 61
 		$this->auth			= $auth;
62
-		$this->config		= $config;
62
+		$this->config = $config;
63 63
 		$this->user			= $user;
64
-		$this->template		= $template;
64
+		$this->template = $template;
65 65
 	}
66 66
 
67 67
 /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 		config				$config,
57 57
 		user				$user,
58 58
 		template			$template
59
-	){
59
+	) {
60 60
 		$this->mas_func		= $mas_func;
61 61
 		$this->auth			= $auth;
62 62
 		$this->config		= $config;
Please login to merge, or discard this patch.