Passed
Push — templating ( 0cf8c2...d1ec7e )
by Daniel
03:46
created
model/base_entity.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
 	}
57 57
 
58 58
 	/**
59
-	* {@inheritdoc}
60
-	*/
59
+	 * {@inheritdoc}
60
+	 */
61 61
 	public function to_array()
62 62
 	{
63 63
 		$attributes = $this->get_attributes();
@@ -74,8 +74,8 @@  discard block
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	* {@inheritdoc}
78
-	*/
77
+	 * {@inheritdoc}
78
+	 */
79 79
 	public function to_db()
80 80
 	{
81 81
 		$this->check_required();
Please login to merge, or discard this patch.
services/menus/nestedset.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,12 +14,12 @@
 block discarded – undo
14 14
 class nestedset extends builder
15 15
 {
16 16
 	/**
17
-	* Construct
18
-	*
19
-	* @param \phpbb\db\driver\driver_interface	$db				Database connection
20
-	* @param \phpbb\lock\db						$lock			Lock class used to lock the table when moving forums around
21
-	* @param string								$table_name		Table name
22
-	*/
17
+	 * Construct
18
+	 *
19
+	 * @param \phpbb\db\driver\driver_interface	$db				Database connection
20
+	 * @param \phpbb\lock\db						$lock			Lock class used to lock the table when moving forums around
21
+	 * @param string								$table_name		Table name
22
+	 */
23 23
 	public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\lock\db $lock, $table_name)
24 24
 	{
25 25
 		parent::__construct(
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.
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/members.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
 		$sql_ary['WHERE'] .= ' AND u.user_lastvisit <> 0 AND u.user_id <> ' . (int) $this->user->data['user_id'];
168 168
 		$sql_ary['ORDER_BY'] = 'u.user_lastvisit DESC';
169 169
 
170
-        $this->sql_date_field = 'user_lastvisit';
170
+		$this->sql_date_field = 'user_lastvisit';
171 171
 	}
172 172
 
173 173
 	/**
Please login to merge, or discard this patch.
services/blocks/blocks.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -189,9 +189,9 @@  discard block
 block discarded – undo
189 189
 	 */
190 190
 	protected function block_has_content(array &$returned_data, $edit_mode)
191 191
 	{
192
-        if ($this->block_returns_nothing($returned_data))
193
-        {
194
-            return $this->set_edit_mode_content($returned_data, $edit_mode, 'BLOCK_NO_DATA');
192
+		if ($this->block_returns_nothing($returned_data))
193
+		{
194
+			return $this->set_edit_mode_content($returned_data, $edit_mode, 'BLOCK_NO_DATA');
195 195
 		}
196 196
 		else if ($this->block_is_missing_template($returned_data))
197 197
 		{
@@ -204,21 +204,21 @@  discard block
 block discarded – undo
204 204
 
205 205
 	/**
206 206
 	 * @param array $data
207
-     * @param bool $edit_mode
208
-     * @param string $lang_key
207
+	 * @param bool $edit_mode
208
+	 * @param string $lang_key
209 209
 	 * @return bool
210 210
 	 */
211 211
 	protected function set_edit_mode_content(array &$data, $edit_mode, $lang_key)
212 212
 	{
213
-        if ($edit_mode)
214
-        {
215
-            $data['status'] = 0;
216
-            $data['content'] = $this->translator->lang($lang_key);
213
+		if ($edit_mode)
214
+		{
215
+			$data['status'] = 0;
216
+			$data['content'] = $this->translator->lang($lang_key);
217 217
 
218
-            return true;
219
-        }
218
+			return true;
219
+		}
220 220
 
221
-        return false;
221
+		return false;
222 222
 	}
223 223
 
224 224
 	/**
@@ -230,14 +230,14 @@  discard block
 block discarded – undo
230 230
 		return !$returned_data['content'] && empty($returned_data['data']);
231 231
 	}
232 232
 
233
-    /**
234
-     * @param array $returned_data
235
-     * @return bool
236
-     */
237
-    protected function block_is_missing_template(array $returned_data)
238
-    {
239
-        return is_array($returned_data['data']) && !$returned_data['template'];
240
-    }
233
+	/**
234
+	 * @param array $returned_data
235
+	 * @return bool
236
+	 */
237
+	protected function block_is_missing_template(array $returned_data)
238
+	{
239
+		return is_array($returned_data['data']) && !$returned_data['template'];
240
+	}
241 241
 
242 242
 	/**
243 243
 	 * Should we display this block?
Please login to merge, or discard this patch.