Passed
Push — release-3.0.0 ( 4d9055...2010c1 )
by Daniel
07:48
created
services/actions/type/edit.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 	 * @param \phpbb\event\dispatcher_interface					$phpbb_dispatcher		Event dispatcher object
37 37
 	 * @param \blitze\content\services\types					$content_types			Content types object
38 38
 	 * @param \blitze\content\model\mapper_factory				$mapper_factory			Mapper factory object
39
-	*/
39
+	 */
40 40
 	public function __construct(\phpbb\auth\auth $auth, \phpbb\controller\helper $controller_helper, \phpbb\language\language $language, \phpbb\template\template $template, \phpbb\user $user, \blitze\sitemaker\services\auto_lang $auto_lang, \blitze\content\services\comments\factory $comments_factory, \blitze\content\services\form\fields_factory $fields_factory, \blitze\content\services\topic\blocks_factory $topic_blocks_factory, \blitze\content\services\views\views_factory $views_factory, \phpbb\event\dispatcher_interface $phpbb_dispatcher, \blitze\content\services\types $content_types, \blitze\content\model\mapper_factory $mapper_factory)
41 41
 	{
42 42
 		parent::__construct($auth, $controller_helper, $language, $template, $user, $auto_lang, $comments_factory, $fields_factory, $topic_blocks_factory, $views_factory);
Please login to merge, or discard this patch.
services/fields.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 		$this->set_comments_type($entity->get_comments());
107 107
 
108 108
 		$this->board_url = generate_board_url(true);
109
-		$this->tpl_name	= ($custom_tpl) ? ($tpl_name ?: $this->content_type . '_' . $this->view_mode) : '';
109
+		$this->tpl_name = ($custom_tpl) ? ($tpl_name ?: $this->content_type . '_' . $this->view_mode) : '';
110 110
 		$this->db_fields = $db_fields;
111 111
 
112 112
 		return $this;
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
 			$field_data['field_value'] = &$field_values[$field_name];
260 260
 			$field_data['field_value'] = $this->form_fields[$field_type]->get_field_value($field_data);
261 261
 
262
-			$field_contents	= $this->form_fields[$field_type]->display_field($field_data, $tpl_data, $this->display_mode, $this->view_mode);
262
+			$field_contents = $this->form_fields[$field_type]->display_field($field_data, $tpl_data, $this->display_mode, $this->view_mode);
263 263
 			$display_data['raw'][$field_name] = $field_data['field_value'];
264 264
 
265 265
 			// this essentially hides other fields if the field returns an array
Please login to merge, or discard this patch.
controller/main_controller.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 	 * @param \blitze\content\services\poll							$poll				Poll object
56 56
 	 * @param \blitze\content\services\views\views_factory			$views_factory		Views handlers
57 57
 	 * @param \blitze\content\services\comments\factory				$comments_factory	Comments factory
58
-	*/
58
+	 */
59 59
 	public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\controller\helper $controller, \phpbb\path_helper $path_helper, \phpbb\request\request_interface $request, \phpbb\template\template $template, \phpbb\user $user, \blitze\content\services\types $content_types, \blitze\content\services\feed $feed, \blitze\content\services\poll $poll, \blitze\content\services\views\views_factory $views_factory, \blitze\content\services\comments\factory $comments_factory)
60 60
 	{
61 61
 		$this->db = $db;
Please login to merge, or discard this patch.
blocks/recent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
 			$update_count = array();
208 208
 			foreach ($topics_data as $topic_id => $topic_data)
209 209
 			{
210
-				$post_data	= array_shift($posts_data[$topic_id]);
210
+				$post_data = array_shift($posts_data[$topic_id]);
211 211
 				$topics[] = $this->fields->show($type, $topic_data, $post_data, $users_cache, $attachments, $update_count, $topic_tracking_info);
212 212
 			}
213 213
 			unset($topics_data, $posts_data, $users_cache, $attachments, $topic_tracking_info);
Please login to merge, or discard this patch.