Passed
Push — release-3.0.0 ( 4d9055...2010c1 )
by Daniel
07:48
created
services/feed.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
 		$content = preg_replace('/((?:\?|&)sid=[a-z0-9]+)/', '', $content);
126 126
 
127 127
 		// Remove Comments from inline attachments [ia]
128
-		$content = preg_replace('#<dd>(.*?)</dd>#','',$content);
128
+		$content = preg_replace('#<dd>(.*?)</dd>#', '', $content);
129 129
 
130 130
 		// Replace some entities with their unicode counterpart
131 131
 		$entities = array(
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 	 * @param \phpbb\template\template		$template				Template object
49 49
 	 * @param \phpbb\user					$user					User object
50 50
 	 * @param string						$php_ext				php file extension
51
-	*/
51
+	 */
52 52
 	public function __construct(\phpbb\config\config $config, \phpbb\controller\helper $controller_helper, \phpbb\language\language $language, \phpbb\symfony_request $symfony_request, \phpbb\template\template $template, \phpbb\user $user, $php_ext)
53 53
 	{
54 54
 		$this->config = $config;
Please login to merge, or discard this patch.
services/views/driver/base_view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
 
139 139
 		foreach ($posts_data as $topic_id => $posts)
140 140
 		{
141
-			$post_data	= array_shift($posts);
141
+			$post_data = array_shift($posts);
142 142
 			$topic_data	= $topics_data[$topic_id];
143 143
 			$topic_data = $this->fields->show($content_type, $topic_data, $post_data, $users_cache, $attachments, $update_count, $topic_tracking_info, $topic_data_overwrite);
144 144
 
Please login to merge, or discard this patch.
controller/admin_controller.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 	 *
23 23
 	 * @param \phpbb\language\language							$language			Language object
24 24
 	 * @param \blitze\content\services\actions\action_handler	$action_handler		Handles actions
25
-	*/
25
+	 */
26 26
 	public function __construct(\phpbb\language\language $language, \blitze\content\services\actions\action_handler $action_handler)
27 27
 	{
28 28
 		$this->language = $language;
Please login to merge, or discard this patch.
controller/mcp_controller.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 	 *
23 23
 	 * @param \phpbb\language\language							$language			Language object
24 24
 	 * @param \blitze\content\services\actions\action_handler	$action_handler		Handles actions
25
-	*/
25
+	 */
26 26
 	public function __construct(\phpbb\language\language $language, \blitze\content\services\actions\action_handler $action_handler)
27 27
 	{
28 28
 		$this->language = $language;
Please login to merge, or discard this patch.
controller/ucp_controller.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 	 *
23 23
 	 * @param \phpbb\language\language							$language			Language object
24 24
 	 * @param \blitze\content\services\actions\action_handler	$action_handler		Handles actions
25
-	*/
25
+	 */
26 26
 	public function __construct(\phpbb\language\language $language, \blitze\content\services\actions\action_handler $action_handler)
27 27
 	{
28 28
 		$this->language = $language;
Please login to merge, or discard this patch.
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.