Completed
Push — develop-no_binaries ( c7b116...1ff092 )
by Daniel
44:47 queued 41:30
created
services/blocks/action/set_route_prefs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@
 block discarded – undo
43 43
 			$entity = $this->force_get_route($route_data);
44 44
 			$this->update_route($entity, $route_prefs);
45 45
 
46
-			$ex_positions	= $entity->get_ex_positions();
47
-			$hide_blocks	= $entity->get_hide_blocks();
46
+			$ex_positions = $entity->get_ex_positions();
47
+			$hide_blocks = $entity->get_hide_blocks();
48 48
 		}
49 49
 		// user has made choices that match defaults, and route prefs exist in db
50 50
 		else if ($entity = $this->route_mapper->load($this->get_condition($route_data)))
Please login to merge, or discard this patch.
services/blocks/admin_bar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 		}
163 163
 		else
164 164
 		{
165
-			return preg_replace_callback('/_([a-z0-9]+)/i', function($parts) {
165
+			return preg_replace_callback('/_([a-z0-9]+)/i', function ($parts) {
166 166
 				return strtoupper($parts[0]);
167 167
 			}, $user_lang);
168 168
 		}
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 			list($controller_service, $controller_method) = explode(':', $controller);
226 226
 			$controller_params	= $symfony_request->attributes->get('_route_params');
227 227
 			$controller_object	= $this->phpbb_container->get($controller_service);
228
-			$controller_class	= get_class($controller_object);
228
+			$controller_class = get_class($controller_object);
229 229
 
230 230
 			$r = new \ReflectionMethod($controller_class, $controller_method);
231 231
 			$class_params = $r->getParameters();
Please login to merge, or discard this patch.
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_select.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	 */
43 43
 	public function prep_field(array &$vars, array &$type, $field, array $db_settings)
44 44
 	{
45
-		$vars['method'] ='build_multi_select';
45
+		$vars['method'] = 'build_multi_select';
46 46
 		$vars['params'][] = $field;
47 47
 		$type[0] = 'custom';
48 48
 	}
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/cleaner.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 	protected function clean_styles()
103 103
 	{
104 104
 		$routes_ary	= array_keys($this->manager->get_routes('style'));
105
-		$style_ids	= $this->get_style_ids();
105
+		$style_ids = $this->get_style_ids();
106 106
 		$col_widths	= (array) json_decode($this->config['sitemaker_column_widths'], true);
107 107
 
108 108
 		foreach ($routes_ary as $style_id)
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 	protected function clean_routes()
132 132
 	{
133 133
 		$board_url = generate_board_url();
134
-		$routes	= $this->manager->get_routes('route');
134
+		$routes = $this->manager->get_routes('route');
135 135
 
136 136
 		foreach ($routes as $route => $row)
137 137
 		{
Please login to merge, or discard this patch.