Passed
Push — develop ( 41b7a1...d6bc11 )
by Daniel
12:53
created
services/blocks/config/fields/select.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,9 +47,9 @@
 block discarded – undo
47 47
 
48 48
 		$vars['method'] = 'build_select';
49 49
 		$vars['params'][] = $field;
50
-		$vars['params'][] = (int) $type[1];		// size
51
-		$vars['params'][] = (bool) $type[2];	// multi select
52
-		$vars['params'][] = (string) $type[3];	// togggle key
50
+		$vars['params'][] = (int) $type[1]; // size
51
+		$vars['params'][] = (bool) $type[2]; // multi select
52
+		$vars['params'][] = (string) $type[3]; // togggle key
53 53
 		$type[0] = 'custom';
54 54
 	}
55 55
 
Please login to merge, or discard this patch.
services/blocks/config/fields/multi_input.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 		}
53 53
 
54 54
 		$vars['params'][] = array_filter((array) $db_settings[$field]);
55
-		$vars['params'][] = $type[1];	// sortable
55
+		$vars['params'][] = $type[1]; // sortable
56 56
 		$vars['params'][] = $field;
57 57
 
58 58
 		$type[0] = 'custom';
Please login to merge, or discard this patch.
services/template/extensions/format_date.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@  discard block
 block discarded – undo
15 15
 	protected $user;
16 16
 
17 17
 	/**
18
-	* Constructor
19
-	*
20
-	* @param \phpbb\user $user
21
-	* @return \phpbb\template\twig\extension
22
-	*/
18
+	 * Constructor
19
+	 *
20
+	 * @param \phpbb\user $user
21
+	 * @return \phpbb\template\twig\extension
22
+	 */
23 23
 	public function __construct(\phpbb\user $user)
24 24
 	{
25 25
 		$this->user = $user;
@@ -36,14 +36,14 @@  discard block
 block discarded – undo
36 36
 	}
37 37
 
38 38
 	/**
39
-	* Format user date
40
-	*
41
-	* @param int $gmepoch unix timestamp
42
-	* @param string $format date format in date() notation. | used to indicate relative dates, for example |d m Y|, h:i is translated to Today, h:i.
43
-	* @param bool $forcedate force non-relative date format.
44
-	*
45
-	* @return mixed translated date
46
-	*/
39
+	 * Format user date
40
+	 *
41
+	 * @param int $gmepoch unix timestamp
42
+	 * @param string $format date format in date() notation. | used to indicate relative dates, for example |d m Y|, h:i is translated to Today, h:i.
43
+	 * @param bool $forcedate force non-relative date format.
44
+	 *
45
+	 * @return mixed translated date
46
+	 */
47 47
 	public function format_date_filter($timestamp, $format = false, $forcedate = false)
48 48
 	{
49 49
 		return $this->user->format_date($timestamp, $format, $forcedate);
Please login to merge, or discard this patch.
services/blocks/config/fields/checkbox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 
35 35
 		$vars['method'] = 'build_checkbox';
36 36
 		$vars['params'][] = $field;
37
-		$vars['params'][] = (string) $type[1];	// css class to be applied to list
37
+		$vars['params'][] = (string) $type[1]; // css class to be applied to list
38 38
 		$type[0] = 'custom';
39 39
 	}
40 40
 
Please login to merge, or discard this patch.
ext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
 	/**
45 45
 	 * return bool
46
-	*/
46
+	 */
47 47
 	protected function image_directory_is_ready()
48 48
 	{
49 49
 		$root_path = $this->container->getParameter('core.root_path');
Please login to merge, or discard this patch.
services/blocks/blocks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 		$block = array();
137 137
 		if ($this->block_is_viewable($db_data, $display_modes, $users_groups, $edit_mode) && ($block_instance = $this->block_factory->get_block($service_name)) !== null)
138 138
 		{
139
-			$returned_data =  array(
139
+			$returned_data = array(
140 140
 				'title'		=> '',
141 141
 				'data'		=> null,
142 142
 				'content'	=> null,
Please login to merge, or discard this patch.
services/menus/display.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
 			}
148 148
 
149 149
 			[$is_current_item, $is_parent] = $this->get_current_item($row);
150
-			$depth	= $this->get_parental_depth($row) + 1;
150
+			$depth = $this->get_parental_depth($row) + 1;
151 151
 			$leaf = $this->get_leaf_node($row, $is_current_item, $is_parent);
152 152
 
153 153
 			$this->parental_depth[$row[$this->pk]] = $depth;
Please login to merge, or discard this patch.
services/tree/display.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 	 */
169 169
 	public function display_list(array $data)
170 170
 	{
171
-		$data = array_map(function($row) {
171
+		$data = array_map(function ($row) {
172 172
 			$row['num_kids'] = $this->count_descendants($row);
173 173
 			return array_change_key_case($row, CASE_UPPER);
174 174
 		}, $data);
Please login to merge, or discard this patch.
services/navbar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
 	 */
126 126
 	protected function save_locations(array $locations)
127 127
 	{
128
-		$locations =  array_merge($this->get_locations(), $locations);
128
+		$locations = array_merge($this->get_locations(), $locations);
129 129
 
130 130
 		$this->config->set('sm_navbar_locations', json_encode(array_filter($locations)));
131 131
 	}
Please login to merge, or discard this patch.