Passed
Push — dependabot/npm_and_yarn/i-0.3.... ( 34f139 )
by
unknown
06:15
created
services/form/field/textarea.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,8 +76,8 @@
 block discarded – undo
76 76
 	{
77 77
 		return array(
78 78
 			'size'		=> 'large',
79
-			'maxlength'	=> '',			// input characters
80
-			'max_chars'	=> 200,			// display characters
79
+			'maxlength'	=> '', // input characters
80
+			'max_chars'	=> 200, // display characters
81 81
 			'editor'	=> true,
82 82
 		);
83 83
 	}
Please login to merge, or discard this patch.
event/mcp_post.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 \blitze\content\services\fields		$fields				Content fields object
37 37
 	 * @param string								$phpbb_root_path	Path to the phpbb includes directory.
38 38
 	 * @param string								$php_ext			php file extension
39
-	*/
39
+	 */
40 40
 	public function __construct(\phpbb\db\driver\driver_interface $db, \blitze\content\services\types $content_types, \blitze\content\services\fields $fields, $phpbb_root_path, $php_ext)
41 41
 	{
42 42
 		$this->db = $db;
Please login to merge, or discard this patch.
event/viewtopic.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 	 * @param \phpbb\controller\helper				$helper				Helper object
29 29
 	 * @param \phpbb\request\request_interface		$request			Request object
30 30
 	 * @param \blitze\content\services\types		$content_types		Content types object
31
-	*/
31
+	 */
32 32
 	public function __construct(\phpbb\controller\helper $helper, \phpbb\request\request_interface $request, \blitze\content\services\types $content_types)
33 33
 	{
34 34
 		$this->helper = $helper;
Please login to merge, or discard this patch.
services/form/builder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 
204 204
 			$content = $this->fields->build_content(array_change_key_case($post_data, CASE_UPPER));
205 205
 
206
-			$text =  isset($content['CUSTOM_DISPLAY']) ? $content['CUSTOM_DISPLAY'] : join('', $content['FIELDS']['all']);
206
+			$text = isset($content['CUSTOM_DISPLAY']) ? $content['CUSTOM_DISPLAY'] : join('', $content['FIELDS']['all']);
207 207
 		}
208 208
 		return $text;
209 209
 	}
@@ -418,8 +418,8 @@  discard block
 block discarded – undo
418 418
 		}
419 419
 		else
420 420
 		{
421
-			$options[ITEM_UNAPPROVED]	= 'CONTENT_STATUS_DISAPPROVE';
422
-			$options[ITEM_APPROVED]		= 'CONTENT_STATUS_APPROVE';
421
+			$options[ITEM_UNAPPROVED] = 'CONTENT_STATUS_DISAPPROVE';
422
+			$options[ITEM_APPROVED] = 'CONTENT_STATUS_APPROVE';
423 423
 		}
424 424
 
425 425
 		return $options;
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
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 	 * @param \blitze\content\services\poll							$poll				Poll object
55 55
 	 * @param \blitze\content\services\views\views_factory			$views_factory		Views handlers
56 56
 	 * @param \blitze\content\services\comments\factory				$comments_factory	Comments factory
57
-	*/
57
+	 */
58 58
 	public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\controller\helper $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)
59 59
 	{
60 60
 		$this->db = $db;
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
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 		$this->set_comments_type($entity->get_comments());
106 106
 
107 107
 		$this->board_url = generate_board_url(true);
108
-		$this->tpl_name	= ($custom_tpl) ? ($tpl_name ?: $this->content_type . '_' . $view_mode) : '';
108
+		$this->tpl_name = ($custom_tpl) ? ($tpl_name ?: $this->content_type . '_' . $view_mode) : '';
109 109
 		$this->db_fields = $db_fields;
110 110
 	}
111 111
 
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
 			$field_data['field_value'] = &$field_values[$field_name];
247 247
 			$field_data['field_value'] = $this->form_fields[$field_type]->get_field_value($field_data);
248 248
 
249
-			$field_contents	= $this->form_fields[$field_type]->display_field($field_data, $tpl_data, $this->display_mode);
249
+			$field_contents = $this->form_fields[$field_type]->display_field($field_data, $tpl_data, $this->display_mode);
250 250
 			$display_data['raw'][$field_name] = $field_data['field_value'];
251 251
 
252 252
 			// this essentially hides other fields if the field returns an array
Please login to merge, or discard this patch.
services/form/field/choice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 			foreach ($choices as $value => $option)
91 91
 			{
92 92
 				$options[] = array(
93
-					'id'		=> 'smc-'. $data['field_name'] . '-' . $count,
93
+					'id'		=> 'smc-' . $data['field_name'] . '-' . $count,
94 94
 					'label'		=> $this->language->lang($option),
95 95
 					'selected'	=> (int) (in_array($value, (array) $data['field_value'])),
96 96
 					'value'		=> $value,
Please login to merge, or discard this patch.
services/template/extensions/filters.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -25,12 +25,12 @@  discard block
 block discarded – undo
25 25
 	}
26 26
 
27 27
 	/**
28
-	* @param array $context
29
-	* @param array $items
30
-	* @param string $field_type
31
-	* @param string $loop_variable
32
-	* @return string
33
-	*/
28
+	 * @param array $context
29
+	 * @param array $items
30
+	 * @param string $field_type
31
+	 * @param string $loop_variable
32
+	 * @return string
33
+	 */
34 34
 	public function field_filter(array &$context, $items, $field_type, $loop_variable = '')
35 35
 	{
36 36
 		if (empty($context['FIELD_TYPES']))
@@ -54,11 +54,11 @@  discard block
 block discarded – undo
54 54
 	}
55 55
 
56 56
 	/**
57
-	* @param string $content
58
-	* @param int $max_chars
59
-	* @param string $loop_variable
60
-	* @return string
61
-	*/
57
+	 * @param string $content
58
+	 * @param int $max_chars
59
+	 * @param string $loop_variable
60
+	 * @return string
61
+	 */
62 62
 	public function truncate_filter($content, $max_chars = 60, $type = '')
63 63
 	{
64 64
 		if ($type === 'html')
Please login to merge, or discard this patch.
services/actions/type/add.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 	 * @param \blitze\content\services\form\fields_factory		$fields_factory			Fields factory  object
60 60
 	 * @param \blitze\content\services\topic\blocks_factory		$topic_blocks_factory	Topic blocks factory object
61 61
 	 * @param \blitze\content\services\views\views_factory		$views_factory			Views factory object
62
-	*/
62
+	 */
63 63
 	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)
64 64
 	{
65 65
 		$this->auth = $auth;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 		$this->template->assign_vars(array(
85 85
 			'CONTENT_VIEWS'		=> $this->views_factory->get_all_views(),
86 86
 			'COMMENT_TYPES'		=> $this->comments_factory->get_all_types(),
87
-			'COMMENTS'			=> 'blitze.content.comments',	// default comment system
87
+			'COMMENTS'			=> 'blitze.content.comments', // default comment system
88 88
 			'POST_AUTHOR'		=> $this->user->data['username'],
89 89
 			'POST_DATE'			=> $this->user->format_date(time()),
90 90
 			'TOPIC_BLOCK_OPS'	=> $this->topic_blocks_factory->get_all(),
Please login to merge, or discard this patch.