Passed
Push — develop ( 772ac1...77e6e2 )
by Daniel
04:01
created
services/actions/type/edit.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 	 * @param \phpbb\event\dispatcher_interface					$phpbb_dispatcher		Event dispatcher object
36 36
 	 * @param \blitze\content\services\types					$content_types			Content types object
37 37
 	 * @param \blitze\content\model\mapper_factory				$mapper_factory			Mapper factory object
38
-	*/
38
+	 */
39 39
 	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\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)
40 40
 	{
41 41
 		parent::__construct($auth, $controller_helper, $language, $template, $user, $auto_lang, $fields_factory, $topic_blocks_factory, $views_factory);
Please login to merge, or discard this patch.
services/actions/type/add.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\form\fields_factory		$fields_factory			Fields factory  object
56 56
 	 * @param \blitze\content\services\topic\blocks_factory		$topic_blocks_factory	Topic blocks factory object
57 57
 	 * @param \blitze\content\services\views\views_factory		$views_factory			Views factory object
58
-	*/
58
+	 */
59 59
 	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\form\fields_factory $fields_factory, \blitze\content\services\topic\blocks_factory $topic_blocks_factory, \blitze\content\services\views\views_factory $views_factory)
60 60
 	{
61 61
 		$this->auth = $auth;
Please login to merge, or discard this patch.
services/topic/driver/author_contents.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	 * @param \phpbb\template\template					$template			Template object
31 31
 	 * @param \blitze\content\services\fields			$fields				Content fields object
32 32
 	 * @param \blitze\sitemaker\services\forum\data		$forum				Forum Data object
33
-	*/
33
+	 */
34 34
 	public function __construct(\phpbb\language\language $language, \phpbb\template\template $template, \blitze\content\services\fields $fields, \blitze\sitemaker\services\forum\data $forum)
35 35
 	{
36 36
 		$this->language = $language;
Please login to merge, or discard this patch.
services/topic/driver/author_info.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	 * @param \phpbb\template\template					$template			Template object
31 31
 	 * @param \blitze\sitemaker\services\forum\data		$forum				Forum Data object
32 32
 	 * @param \blitze\content\services\helper			$helper				Content helper object
33
-	*/
33
+	 */
34 34
 	public function __construct(\phpbb\language\language $language, \phpbb\template\template $template, \blitze\sitemaker\services\forum\data $forum, \blitze\content\services\helper $helper)
35 35
 	{
36 36
 		$this->language = $language;
Please login to merge, or discard this patch.
services/views/driver/portal.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	 * @param \blitze\content\services\topic\blocks_factory		$topic_blocks_factory	Topic blocks factory object
32 32
 	 * @param \phpbb\config\config								$config					Config object
33 33
 	 * @param \blitze\content\services\types					$content_types			Content types object
34
-	*/
34
+	 */
35 35
 	public function __construct(\phpbb\event\dispatcher_interface $phpbb_dispatcher, \phpbb\language\language $language, \phpbb\pagination $pagination, \phpbb\template\template $template, \blitze\content\services\fields $fields, \blitze\sitemaker\services\forum\data $forum, \blitze\content\services\helper $helper, \blitze\content\services\quickmod $quickmod, \blitze\content\services\topic\blocks_factory $topic_blocks_factory, \phpbb\config\config $config, \blitze\content\services\types $content_types)
36 36
 	{
37 37
 		parent::__construct($phpbb_dispatcher, $language, $pagination, $template, $fields, $forum, $helper, $quickmod, $topic_blocks_factory);
Please login to merge, or discard this patch.
services/views/driver/tiles.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 	 * @param \blitze\content\services\quickmod					$quickmod				Quick moderator tools
28 28
 	 * @param \blitze\content\services\topic\blocks_factory		$topic_blocks_factory	Topic blocks factory object
29 29
 	 * @param \phpbb\request\request_interface					$request				Request object
30
-	*/
30
+	 */
31 31
 	public function __construct(\phpbb\event\dispatcher_interface $phpbb_dispatcher, \phpbb\language\language $language, \phpbb\pagination $pagination, \phpbb\template\template $template, \blitze\content\services\fields $fields, \blitze\sitemaker\services\forum\data $forum, \blitze\content\services\helper $helper, \blitze\content\services\quickmod $quickmod, \blitze\content\services\topic\blocks_factory $topic_blocks_factory, \phpbb\request\request_interface $request)
32 32
 	{
33 33
 		parent::__construct($phpbb_dispatcher, $language, $pagination, $template, $fields, $forum, $helper, $quickmod, $topic_blocks_factory);
Please login to merge, or discard this patch.
services/form/field/color.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 	public function get_field_value(array $data)
57 57
 	{
58 58
 		$default = is_array($data['field_value']) ? $data['field_value'] : explode("\n", $data['field_value']);
59
-		$value =  $this->request->variable($data['field_name'], array(0 => ''));
59
+		$value = $this->request->variable($data['field_name'], array(0 => ''));
60 60
 		return $value ?: $default;
61 61
 	}
62 62
 
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
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 			foreach ($choices as $value => $option)
98 98
 			{
99 99
 				$options[] = array(
100
-					'id'		=> 'smc-'. $name . '-' . $count,
100
+					'id'		=> 'smc-' . $name . '-' . $count,
101 101
 					'label'		=> $this->language->lang($option),
102 102
 					'selected'	=> (int) (in_array($value, $selected)),
103 103
 					'value'		=> $value,
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
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 			$this->fields->prepare_to_show($entity, array($post_data['topic_id']), $entity->$fields_accessor(), $entity->$template_accessor(), $view);
209 209
 			$content = $this->fields->build_content(array_change_key_case($post_data, CASE_UPPER));
210 210
 
211
-			$text =  $content['CUSTOM_DISPLAY'] ?: join('', $content['FIELDS']['all']);
211
+			$text = $content['CUSTOM_DISPLAY'] ?: join('', $content['FIELDS']['all']);
212 212
 		}
213 213
 		return $text;
214 214
 	}
@@ -404,8 +404,8 @@  discard block
 block discarded – undo
404 404
 		}
405 405
 		else
406 406
 		{
407
-			$options[ITEM_UNAPPROVED]	= 'CONTENT_STATUS_DISAPPROVE';
408
-			$options[ITEM_APPROVED]		= 'CONTENT_STATUS_APPROVE';
407
+			$options[ITEM_UNAPPROVED] = 'CONTENT_STATUS_DISAPPROVE';
408
+			$options[ITEM_APPROVED] = 'CONTENT_STATUS_APPROVE';
409 409
 		}
410 410
 
411 411
 		return $options;
Please login to merge, or discard this patch.