Completed
Push — develop ( cc7114...ef0a0d )
by Daniel
08:51
created
acp/settings_module.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 			$this->save_filemanager_settings();
127 127
 			$this->save_config_settings();
128 128
 
129
-			$this->trigger_error($this->translator->lang('SETTINGS_SAVED') . adm_back_link($this->u_action));
129
+			$this->trigger_error($this->translator->lang('SETTINGS_SAVED').adm_back_link($this->u_action));
130 130
 		}
131 131
 	}
132 132
 
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 	{
150 150
 		$style_prefs = (array) json_decode($this->config_text->get('sm_layout_prefs'), true);
151 151
 
152
-		$result = $this->db->sql_query('SELECT style_id, style_name FROM ' . STYLES_TABLE);
152
+		$result = $this->db->sql_query('SELECT style_id, style_name FROM '.STYLES_TABLE);
153 153
 
154 154
 		$styles = array();
155 155
 		while ($row = $this->db->sql_fetchrow($result))
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 			$path = dirname($path);
217 217
 			$name = basename($path);
218 218
 
219
-			$layouts[$name] = $this->phpbb_root_path . $path . '/';
219
+			$layouts[$name] = $this->phpbb_root_path.$path.'/';
220 220
 		}
221 221
 		ksort($layouts);
222 222
 
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
 			$id = $entity->get_menu_id();
270 270
 			$name = $entity->get_menu_name();
271 271
 			$selected = ($id == $this->config['sm_navbar_menu']) ? ' selected="selected"' : '';
272
-			$options .= '<option value="' . $id . '"' . $selected . '>' . $name . '</option>';
272
+			$options .= '<option value="'.$id.'"'.$selected.'>'.$name.'</option>';
273 273
 		}
274 274
 
275 275
 		return $options;
Please login to merge, or discard this patch.
blocks/whois.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,6 +105,6 @@
 block discarded – undo
105 105
 	 */
106 106
 	private function get_viewonline_url()
107 107
 	{
108
-		return ($this->auth->acl_gets('u_viewprofile', 'a_user', 'a_useradd', 'a_userdel')) ? append_sid("{$this->phpbb_root_path}viewonline." . $this->php_ext) : '';
108
+		return ($this->auth->acl_gets('u_viewprofile', 'a_user', 'a_useradd', 'a_userdel')) ? append_sid("{$this->phpbb_root_path}viewonline.".$this->php_ext) : '';
109 109
 	}
110 110
 }
Please login to merge, or discard this patch.
services/tree/display.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	{
80 80
 		$sql = "SELECT *
81 81
 			FROM $this->items_table
82
-			WHERE $this->pk = " . (int) $node_id ;
82
+			WHERE $this->pk = ".(int) $node_id;
83 83
 		$result = $this->db->sql_query($sql);
84 84
 		$row = $this->db->sql_fetchrow($result);
85 85
 		$this->db->sql_freeresult($result);
@@ -108,8 +108,8 @@  discard block
 block discarded – undo
108 108
 					$this->items_table => 'i'
109 109
 				),
110 110
 				'WHERE'		=> array(
111
-					'i.depth ' . (($max_depth) ? " BETWEEN $start AND " . ($start + $max_depth) : ' >= ' . $start),
112
-					(($this->sql_where) ? 'i.' . $this->sql_where : ''),
111
+					'i.depth '.(($max_depth) ? " BETWEEN $start AND ".($start + $max_depth) : ' >= '.$start),
112
+					(($this->sql_where) ? 'i.'.$this->sql_where : ''),
113 113
 				),
114 114
 				'ORDER_BY'	=> 'i.left_id ASC',
115 115
 			),
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 	 * @param \phpbb\template\twig\twig $template
156 156
 	 * @param string $handle
157 157
 	 */
158
-	public function display_list(array $data, \phpbb\template\twig\twig &$template, $handle = 'tree')
158
+	public function display_list(array $data, \phpbb\template\twig\twig & $template, $handle = 'tree')
159 159
 	{
160 160
 		$prev_depth = 0;
161 161
 		$parental_depth = array(0 => -1);
@@ -164,10 +164,10 @@  discard block
 block discarded – undo
164 164
 		for ($i = 0, $size = sizeof($data); $i < $size; $i++)
165 165
 		{
166 166
 			$row 		= $data[$i];
167
-			$this_depth	= $parental_depth[$row['parent_id']] + 1;
168
-			$repeat		= abs($prev_depth - $this_depth);
167
+			$this_depth = $parental_depth[$row['parent_id']] + 1;
168
+			$repeat = abs($prev_depth - $this_depth);
169 169
 
170
-			$tpl_data	= array(
170
+			$tpl_data = array(
171 171
 				'PREV_DEPTH'	=> $prev_depth,
172 172
 				'THIS_DEPTH'	=> $this_depth,
173 173
 				'NUM_KIDS'		=> $this->count_descendants($row),
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
 			for ($j = 0; $j < $repeat; $j++)
179 179
 			{
180
-				$template->assign_block_vars($handle . '.close', array());
180
+				$template->assign_block_vars($handle.'.close', array());
181 181
 			}
182 182
 
183 183
 			$prev_depth = $this_depth;
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
 		for ($i = 0; $i < $prev_depth; $i++)
188 188
 		{
189
-			$template->assign_block_vars('close_' . $handle, array());
189
+			$template->assign_block_vars('close_'.$handle, array());
190 190
 		}
191 191
 	}
192 192
 
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 	 */
255 255
 	protected function get_padded_title($padding, $title)
256 256
 	{
257
-		return (($padding) ? $padding . '&#x2937; ' : '') . $title;
257
+		return (($padding) ? $padding.'&#x2937; ' : '').$title;
258 258
 	}
259 259
 
260 260
 	/**
@@ -266,6 +266,6 @@  discard block
 block discarded – undo
266 266
 	protected function get_html_option(array $row, array $selected_ids, $title)
267 267
 	{
268 268
 		$selected = (in_array($row[$this->pk], $selected_ids)) ? ' selected="selected' : '';
269
-		return '<option value="' . $row[$this->pk] . '"' . $selected . '>' . $title . '</option>';
269
+		return '<option value="'.$row[$this->pk].'"'.$selected.'>'.$title.'</option>';
270 270
 	}
271 271
 }
Please login to merge, or discard this patch.
services/filemanager/setup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 */
51 51
 	public function get_access_key()
52 52
 	{
53
-		return sha1($this->user->data['user_form_salt'] . 'filemanager');
53
+		return sha1($this->user->data['user_form_salt'].'filemanager');
54 54
 	}
55 55
 
56 56
 	/**
Please login to merge, or discard this patch.