Completed
Push — master ( 1f1439...c96b51 )
by Daniel
08:29
created
services/menus/display.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 	/**
48 48
 	 *
49 49
 	 */
50
-	public function display_list(array $data, \phpbb\template\twig\twig &$template, $handle = 'tree')
50
+	public function display_list(array $data, \phpbb\template\twig\twig & $template, $handle = 'tree')
51 51
 	{
52 52
 		$data = array_values($data);
53 53
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 			}
68 68
 
69 69
 			$is_current_item = $this->is_current_item($row, $current_data['item_id']);
70
-			$this_depth	= $this->parental_depth[$row['parent_id']] + 1;
70
+			$this_depth = $this->parental_depth[$row['parent_id']] + 1;
71 71
 
72 72
 			$this->set_parental_depth($row, $this_depth, $current_data, $is_current_item);
73 73
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 				continue;
77 77
 			}
78 78
 
79
-			$tpl_data	= array(
79
+			$tpl_data = array(
80 80
 				'S_PREV_DEPTH'	=> $prev_depth,
81 81
 				'S_THIS_DEPTH'	=> $this_depth,
82 82
 				'S_NUM_KIDS'	=> $this->count_descendants($row),
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 		}
131 131
 	}
132 132
 
133
-	protected function close_open_tags(\phpbb\template\twig\twig &$template, $handle, $repeat)
133
+	protected function close_open_tags(\phpbb\template\twig\twig & $template, $handle, $repeat)
134 134
 	{
135 135
 		for ($i = 0; $i < $repeat; $i++)
136 136
 		{
Please login to merge, or discard this patch.
services/forum/data.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@
 block discarded – undo
339 339
 			$this->store['topic'][$row['topic_id']] = $row;
340 340
 
341 341
 			$this->store['tracking'][$row['forum_id']]['topic_list'][] = $row['topic_id'];
342
-			$this->store['tracking'][$row['forum_id']]['mark_time'] =& $row['forum_mark_time'];
342
+			$this->store['tracking'][$row['forum_id']]['mark_time'] = & $row['forum_mark_time'];
343 343
 			$this->store['post_ids']['first'][] = $row['topic_first_post_id'];
344 344
 			$this->store['post_ids']['last'][] = $row['topic_last_post_id'];
345 345
 		}
Please login to merge, or discard this patch.
model/base_collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
 		{
122 122
 			$this->_entities = array_filter(
123 123
 				$this->_entities,
124
-				function ($v) use ($key)
124
+				function($v) use ($key)
125 125
 				{
126 126
 					return $v !== $key;
127 127
 				}
Please login to merge, or discard this patch.
model/base_entity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
 	{
116 116
 		$type = $this->_get_property_type($name);
117 117
 
118
-		if (in_array($type, array('array','boolean', 'float', 'integer', 'string')))
118
+		if (in_array($type, array('array', 'boolean', 'float', 'integer', 'string')))
119 119
 		{
120 120
 			settype($value, $type);
121 121
 			return $value;
Please login to merge, or discard this patch.
model/base_mapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
 			$accessor = 'get_' . $this->_entity_pkey;
158 158
 			$id = $entity->$accessor();
159 159
 
160
-			return $this->db->sql_query('UPDATE ' . $this->_entity_table . ' SET ' . $this->db->sql_build_array('UPDATE', $entity->to_db()) .' WHERE ' . $this->_entity_pkey . ' = ' . $id);
160
+			return $this->db->sql_query('UPDATE ' . $this->_entity_table . ' SET ' . $this->db->sql_build_array('UPDATE', $entity->to_db()) . ' WHERE ' . $this->_entity_pkey . ' = ' . $id);
161 161
 		}
162 162
 
163 163
 		throw new \blitze\sitemaker\exception\unexpected_value('INVALID_ENTITY');
Please login to merge, or discard this patch.
migrations/v20x/m7_update_settings_data.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 			$sql_data = array(
63 63
 				'settings'	=> serialize($settings)
64 64
 			);
65
-			$this->db->sql_query('UPDATE ' . $this->table_prefix . 'sm_blocks SET ' . $this->db->sql_build_array('UPDATE', $sql_data) .' WHERE bid = ' . (int) $bid);
65
+			$this->db->sql_query('UPDATE ' . $this->table_prefix . 'sm_blocks SET ' . $this->db->sql_build_array('UPDATE', $sql_data) . ' WHERE bid = ' . (int) $bid);
66 66
 		}
67 67
 	}
68 68
 }
Please login to merge, or discard this patch.
services/blocks/cfg_handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -368,7 +368,7 @@
 block discarded – undo
368 368
 	{
369 369
 		$this->_prep_checkbox_field_for_display($vars, $type, $field);
370 370
 
371
-		$vars['method'] ='build_multi_select';
371
+		$vars['method'] = 'build_multi_select';
372 372
 	}
373 373
 
374 374
 	/**
Please login to merge, or discard this patch.
blocks/forum_topics.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
 	{
168 168
 		for ($i = 0, $size = sizeof($topic_data); $i < $size; $i++)
169 169
 		{
170
-			$row =& $topic_data[$i];
170
+			$row = & $topic_data[$i];
171 171
 			$forum_id = $row['forum_id'];
172 172
 			$topic_id = $row['topic_id'];
173 173
 
Please login to merge, or discard this patch.
services/userlist.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -342,7 +342,7 @@
 block discarded – undo
342 342
 			$new_list = trim($new_list, ',');
343 343
 
344 344
 			$new_userlist = $this->_get_userlist($new_list);
345
-			$current_user =& $new_userlist[$curr_key - 1];
345
+			$current_user = & $new_userlist[$curr_key - 1];
346 346
 
347 347
 			$this->settings['current_user'] = (int) $current_user;
348 348
 			$this->settings['userlist'] = $new_list;
Please login to merge, or discard this patch.