Completed
Push — remove-tables-constants ( 5940a1...6d7635 )
by Erwan
03:20
created
migrations/v10x/v1_0_0.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -259,10 +259,10 @@  discard block
 block discarded – undo
259 259
 	}
260 260
 
261 261
 	/**
262
-	* Create directories for banners/icons uploaded
263
-	*
264
-	* @return null
265
-	*/
262
+	 * Create directories for banners/icons uploaded
263
+	 *
264
+	 * @return null
265
+	 */
266 266
 	public function create_directories()
267 267
 	{
268 268
 		$directories = array(
@@ -281,10 +281,10 @@  discard block
 block discarded – undo
281 281
 	}
282 282
 
283 283
 	/**
284
-	* Remove directories for banners/icons uploaded
285
-	*
286
-	* @return null
287
-	*/
284
+	 * Remove directories for banners/icons uploaded
285
+	 *
286
+	 * @return null
287
+	 */
288 288
 	public function remove_directories()
289 289
 	{
290 290
 		$dir = $this->phpbb_root_path . 'files/ext/ernadoo/phpbbdirectory/';
@@ -293,15 +293,15 @@  discard block
 block discarded – undo
293 293
 	}
294 294
 
295 295
 	/**
296
-	* Attempts to remove recursively the directory named by dirname.
297
-	*
298
-	* @author Mehdi Kabab <http://pioupioum.fr>
299
-	* @copyright Copyright (C) 2009 Mehdi Kabab
300
-	* @license http://www.gnu.org/licenses/gpl.html  GNU GPL version 3 or later
301
-	*
302
-	* @param	string	$dirname		Path to the directory.
303
-	* @return	null
304
-	*/
296
+	 * Attempts to remove recursively the directory named by dirname.
297
+	 *
298
+	 * @author Mehdi Kabab <http://pioupioum.fr>
299
+	 * @copyright Copyright (C) 2009 Mehdi Kabab
300
+	 * @license http://www.gnu.org/licenses/gpl.html  GNU GPL version 3 or later
301
+	 *
302
+	 * @param	string	$dirname		Path to the directory.
303
+	 * @return	null
304
+	 */
305 305
 	private function _recursive_rmdir($dirname)
306 306
 	{
307 307
 		if (is_dir($dirname) && !is_link($dirname))
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 	{
24 24
 		return array(
25 25
 			'add_tables' => array(
26
-				$this->table_prefix . 'directory_cats' => array(
26
+				$this->table_prefix.'directory_cats' => array(
27 27
 					'COLUMNS' => array(
28 28
 						'cat_id'				=> array('UINT', null, 'auto_increment'),
29 29
 						'parent_id'				=> array('UINT', 0),
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 					),
58 58
 				),
59 59
 
60
-				$this->table_prefix . 'directory_comments' => array(
60
+				$this->table_prefix.'directory_comments' => array(
61 61
 					'COLUMNS' => array(
62 62
 						'comment_id' 		=> array('UINT', null, 'auto_increment'),
63 63
 						'comment_date' 		=> array('TIMESTAMP', 0),
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 					'PRIMARY_KEY'	=> array('comment_id'),
74 74
 				),
75 75
 
76
-				$this->table_prefix . 'directory_links' => array(
76
+				$this->table_prefix.'directory_links' => array(
77 77
 					'COLUMNS' => array(
78 78
 						'link_id'			=> array('UINT', null, 'auto_increment'),
79 79
 						'link_time' 		=> array('TIMESTAMP', 0),
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 					),
111 111
 				),
112 112
 
113
-				$this->table_prefix . 'directory_watch' => array(
113
+				$this->table_prefix.'directory_watch' => array(
114 114
 					'COLUMNS' => array(
115 115
 						'cat_id'		=> array('UINT', 0),
116 116
 						'user_id'		=> array('UINT', 0),
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
 				),
127 127
 
128
-				$this->table_prefix . 'directory_votes' => array(
128
+				$this->table_prefix.'directory_votes' => array(
129 129
 					'COLUMNS' => array(
130 130
 						'vote_id'			=> array('UINT', null, 'auto_increment'),
131 131
 						'vote_link_id'		=> array('UINT', 0),
@@ -148,11 +148,11 @@  discard block
 block discarded – undo
148 148
 	{
149 149
 		return array(
150 150
 			'drop_tables'	=> array(
151
-				$this->table_prefix . 'directory_cats',
152
-				$this->table_prefix . 'directory_comments',
153
-				$this->table_prefix . 'directory_links',
154
-				$this->table_prefix . 'directory_votes',
155
-				$this->table_prefix . 'directory_watch',
151
+				$this->table_prefix.'directory_cats',
152
+				$this->table_prefix.'directory_comments',
153
+				$this->table_prefix.'directory_links',
154
+				$this->table_prefix.'directory_votes',
155
+				$this->table_prefix.'directory_watch',
156 156
 			),
157 157
 		);
158 158
 	}
@@ -272,10 +272,10 @@  discard block
 block discarded – undo
272 272
 
273 273
 		foreach ($directories as $dir)
274 274
 		{
275
-			if (!file_exists($this->phpbb_root_path . $dir))
275
+			if (!file_exists($this->phpbb_root_path.$dir))
276 276
 			{
277
-				@mkdir($this->phpbb_root_path . $dir, 0777, true);
278
-				phpbb_chmod($this->phpbb_root_path . $dir, CHMOD_READ | CHMOD_WRITE);
277
+				@mkdir($this->phpbb_root_path.$dir, 0777, true);
278
+				phpbb_chmod($this->phpbb_root_path.$dir, CHMOD_READ | CHMOD_WRITE);
279 279
 			}
280 280
 		}
281 281
 	}
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 	*/
288 288
 	public function remove_directories()
289 289
 	{
290
-		$dir = $this->phpbb_root_path . 'files/ext/ernadoo/phpbbdirectory/';
290
+		$dir = $this->phpbb_root_path.'files/ext/ernadoo/phpbbdirectory/';
291 291
 
292 292
 		$this->_recursive_rmdir($dir);
293 293
 	}
Please login to merge, or discard this patch.
notification/type/directory_website_disapproved.php 1 patch
Indentation   +59 added lines, -59 removed lines patch added patch discarded remove patch
@@ -18,21 +18,21 @@  discard block
 block discarded – undo
18 18
 class directory_website_disapproved extends \phpbb\notification\type\base
19 19
 {
20 20
 	/**
21
-	* Get notification type name
22
-	*
23
-	* @return string
24
-	*/
21
+	 * Get notification type name
22
+	 *
23
+	 * @return string
24
+	 */
25 25
 	public function get_type()
26 26
 	{
27 27
 		return 'ernadoo.phpbbdirectory.notification.type.directory_website_disapproved';
28 28
 	}
29 29
 
30 30
 	/**
31
-	* Notification option data (for outputting to the user)
32
-	*
33
-	* @var bool|array False if the service should use it's default data
34
-	* 					Array of data (including keys 'id', 'lang', and 'group')
35
-	*/
31
+	 * Notification option data (for outputting to the user)
32
+	 *
33
+	 * @var bool|array False if the service should use it's default data
34
+	 * 					Array of data (including keys 'id', 'lang', and 'group')
35
+	 */
36 36
 	public static $notification_option = array(
37 37
 		'id'	=> 'dir_moderation_queue',
38 38
 		'lang'	=> 'NOTIFICATION_TYPE_DIR_UCP_MODERATION_QUEUE',
@@ -40,17 +40,17 @@  discard block
 block discarded – undo
40 40
 	);
41 41
 
42 42
 	/**
43
-	* Permission to check for (in find_users_for_notification)
44
-	*
45
-	* @var string Permission name
46
-	*/
43
+	 * Permission to check for (in find_users_for_notification)
44
+	 *
45
+	 * @var string Permission name
46
+	 */
47 47
 	protected $permission = array('a_', 'm_');
48 48
 
49 49
 	/**
50
-	* Is available
51
-	*
52
-	* @return bool True/False whether or not this is available to the user
53
-	*/
50
+	 * Is available
51
+	 *
52
+	 * @return bool True/False whether or not this is available to the user
53
+	 */
54 54
 	public function is_available()
55 55
 	{
56 56
 		$has_permission = $this->auth->acl_gets($this->permission, true);
@@ -59,21 +59,21 @@  discard block
 block discarded – undo
59 59
 	}
60 60
 
61 61
 	/**
62
-	* Get link id
63
-	*
64
-	* @param array $data The data from the link
65
-	* @return int
66
-	*/
62
+	 * Get link id
63
+	 *
64
+	 * @param array $data The data from the link
65
+	 * @return int
66
+	 */
67 67
 	static public function get_item_id($data)
68 68
 	{
69 69
 		return (int) $data['link_id'];
70 70
 	}
71 71
 
72 72
 	/**
73
-	* Get parent id - it's not used
74
-	*
75
-	* @param array $data The data from the link
76
-	*/
73
+	 * Get parent id - it's not used
74
+	 *
75
+	 * @param array $data The data from the link
76
+	 */
77 77
 	static public function get_item_parent_id($data)
78 78
 	{
79 79
 		// No parent
@@ -81,12 +81,12 @@  discard block
 block discarded – undo
81 81
 	}
82 82
 
83 83
 	/**
84
-	* Find the users who want to receive notifications
85
-	*
86
-	* @param	array	$data		Data from submit link
87
-	* @param	array	$options	Options for finding users for notification
88
-	* @return	array
89
-	*/
84
+	 * Find the users who want to receive notifications
85
+	 *
86
+	 * @param	array	$data		Data from submit link
87
+	 * @param	array	$options	Options for finding users for notification
88
+	 * @return	array
89
+	 */
90 90
 	public function find_users_for_notification($data, $options = array())
91 91
 	{
92 92
 		$options = array_merge(array(
@@ -103,10 +103,10 @@  discard block
 block discarded – undo
103 103
 	}
104 104
 
105 105
 	/**
106
-	* Get the HTML formatted title of this notification
107
-	*
108
-	* @return string
109
-	*/
106
+	 * Get the HTML formatted title of this notification
107
+	 *
108
+	 * @return string
109
+	 */
110 110
 	public function get_title()
111 111
 	{
112 112
 		$link_name = $this->get_data('link_name');
@@ -116,20 +116,20 @@  discard block
 block discarded – undo
116 116
 	}
117 117
 
118 118
 	/**
119
-	* Get email template
120
-	*
121
-	* @return string
122
-	*/
119
+	 * Get email template
120
+	 *
121
+	 * @return string
122
+	 */
123 123
 	public function get_email_template()
124 124
 	{
125 125
 		return '@ernadoo_phpbbdirectory/directory_website_disapproved';
126 126
 	}
127 127
 
128 128
 	/**
129
-	* Get email template variables
130
-	*
131
-	* @return array
132
-	*/
129
+	 * Get email template variables
130
+	 *
131
+	 * @return array
132
+	 */
133 133
 	public function get_email_template_variables()
134 134
 	{
135 135
 		return array(
@@ -138,33 +138,33 @@  discard block
 block discarded – undo
138 138
 	}
139 139
 
140 140
 	/**
141
-	* Get the url to this item
142
-	*
143
-	* @return string URL
144
-	*/
141
+	 * Get the url to this item
142
+	 *
143
+	 * @return string URL
144
+	 */
145 145
 	public function get_url()
146 146
 	{
147 147
 		return '';
148 148
 	}
149 149
 
150 150
 	/**
151
-	* Users needed to query before this notification can be displayed
152
-	*
153
-	* @return array Array of user_ids
154
-	*/
151
+	 * Users needed to query before this notification can be displayed
152
+	 *
153
+	 * @return array Array of user_ids
154
+	 */
155 155
 	public function users_to_query()
156 156
 	{
157 157
 		return array();
158 158
 	}
159 159
 
160 160
 	/**
161
-	* Function for preparing the data for insertion in an SQL query
162
-	* (The service handles insertion)
163
-	*
164
-	* @param	array	$data				Data from submit link
165
-	* @param	array	$pre_create_data	Data from pre_create_insert_array()
166
-	* @return	array						Array of data ready to be inserted into the database
167
-	*/
161
+	 * Function for preparing the data for insertion in an SQL query
162
+	 * (The service handles insertion)
163
+	 *
164
+	 * @param	array	$data				Data from submit link
165
+	 * @param	array	$pre_create_data	Data from pre_create_insert_array()
166
+	 * @return	array						Array of data ready to be inserted into the database
167
+	 */
168 168
 	public function create_insert_array($data, $pre_create_data = array())
169 169
 	{
170 170
 		$this->set_data('link_name', $data['link_name']);
Please login to merge, or discard this patch.
notification/type/directory_website_error_cron.php 1 patch
Indentation   +61 added lines, -61 removed lines patch added patch discarded remove patch
@@ -18,52 +18,52 @@  discard block
 block discarded – undo
18 18
 class directory_website_error_cron extends \phpbb\notification\type\base
19 19
 {
20 20
 	/**
21
-	* Get notification type name
22
-	*
23
-	* @return string
24
-	*/
21
+	 * Get notification type name
22
+	 *
23
+	 * @return string
24
+	 */
25 25
 	public function get_type()
26 26
 	{
27 27
 		return 'ernadoo.phpbbdirectory.notification.type.directory_website_error_cron';
28 28
 	}
29 29
 
30 30
 	/**
31
-	* Notification option data (for outputting to the user)
32
-	*
33
-	* @var bool|array False if the service should use it's default data
34
-	* 					Array of data (including keys 'id', 'lang', and 'group')
35
-	*/
31
+	 * Notification option data (for outputting to the user)
32
+	 *
33
+	 * @var bool|array False if the service should use it's default data
34
+	 * 					Array of data (including keys 'id', 'lang', and 'group')
35
+	 */
36 36
 	public static $notification_option = array(
37 37
 		'lang'	=> 'NOTIFICATION_TYPE_DIR_UCP_ERROR_CHECK',
38 38
 		'group'	=> 'NOTIFICATION_DIR_UCP',
39 39
 	);
40 40
 
41 41
 	/**
42
-	* Is available
43
-	*
44
-	* @return bool True/False whether or not this is available to the user
45
-	*/
42
+	 * Is available
43
+	 *
44
+	 * @return bool True/False whether or not this is available to the user
45
+	 */
46 46
 	public function is_available()
47 47
 	{
48 48
 		return true;
49 49
 	}
50 50
 
51 51
 	/**
52
-	* Get link id
53
-	*
54
-	* @param array $data The data from the link
55
-	* @return int
56
-	*/
52
+	 * Get link id
53
+	 *
54
+	 * @param array $data The data from the link
55
+	 * @return int
56
+	 */
57 57
 	static public function get_item_id($data)
58 58
 	{
59 59
 		return (int) $data['link_id'];
60 60
 	}
61 61
 
62 62
 	/**
63
-	* Get parent id - it's not used
64
-	*
65
-	* @param array $data The data from the link
66
-	*/
63
+	 * Get parent id - it's not used
64
+	 *
65
+	 * @param array $data The data from the link
66
+	 */
67 67
 	static public function get_item_parent_id($data)
68 68
 	{
69 69
 		// No parent
@@ -71,12 +71,12 @@  discard block
 block discarded – undo
71 71
 	}
72 72
 
73 73
 	/**
74
-	* Find the users who want to receive notifications
75
-	*
76
-	* @param	array	$data		Data from submit link
77
-	* @param	array	$options	Options for finding users for notification
78
-	* @return	array
79
-	*/
74
+	 * Find the users who want to receive notifications
75
+	 *
76
+	 * @param	array	$data		Data from submit link
77
+	 * @param	array	$options	Options for finding users for notification
78
+	 * @return	array
79
+	 */
80 80
 	public function find_users_for_notification($data, $options = array())
81 81
 	{
82 82
 		$users = array();
@@ -104,10 +104,10 @@  discard block
 block discarded – undo
104 104
 	}
105 105
 
106 106
 	/**
107
-	* Get the HTML formatted title of this notification
108
-	*
109
-	* @return string
110
-	*/
107
+	 * Get the HTML formatted title of this notification
108
+	 *
109
+	 * @return string
110
+	 */
111 111
 	public function get_title()
112 112
 	{
113 113
 		$link_name = $this->get_data('link_name');
@@ -117,20 +117,20 @@  discard block
 block discarded – undo
117 117
 	}
118 118
 
119 119
 	/**
120
-	* Get email template
121
-	*
122
-	* @return string
123
-	*/
120
+	 * Get email template
121
+	 *
122
+	 * @return string
123
+	 */
124 124
 	public function get_email_template()
125 125
 	{
126 126
 		return '@ernadoo_phpbbdirectory/directory_website_error_cron';
127 127
 	}
128 128
 
129 129
 	/**
130
-	* Get email template variables
131
-	*
132
-	* @return array
133
-	*/
130
+	 * Get email template variables
131
+	 *
132
+	 * @return array
133
+	 */
134 134
 	public function get_email_template_variables()
135 135
 	{
136 136
 		return array(
@@ -142,33 +142,33 @@  discard block
 block discarded – undo
142 142
 	}
143 143
 
144 144
 	/**
145
-	* Get the url to this item
146
-	*
147
-	* @return string URL
148
-	*/
145
+	 * Get the url to this item
146
+	 *
147
+	 * @return string URL
148
+	 */
149 149
 	public function get_url()
150 150
 	{
151 151
 		return '';
152 152
 	}
153 153
 
154 154
 	/**
155
-	* Users needed to query before this notification can be displayed
156
-	*
157
-	* @return array Array of user_ids
158
-	*/
155
+	 * Users needed to query before this notification can be displayed
156
+	 *
157
+	 * @return array Array of user_ids
158
+	 */
159 159
 	public function users_to_query()
160 160
 	{
161 161
 		return array();
162 162
 	}
163 163
 
164 164
 	/**
165
-	* Function for preparing the data for insertion in an SQL query
166
-	* (The service handles insertion)
167
-	*
168
-	* @param	array	$data				Data from submit link
169
-	* @param	array	$pre_create_data	Data from pre_create_insert_array()
170
-	* @return	array						Array of data ready to be inserted into the database
171
-	*/
165
+	 * Function for preparing the data for insertion in an SQL query
166
+	 * (The service handles insertion)
167
+	 *
168
+	 * @param	array	$data				Data from submit link
169
+	 * @param	array	$pre_create_data	Data from pre_create_insert_array()
170
+	 * @return	array						Array of data ready to be inserted into the database
171
+	 */
172 172
 	public function create_insert_array($data, $pre_create_data = array())
173 173
 	{
174 174
 		$this->set_data('link_name', $data['link_name']);
@@ -182,12 +182,12 @@  discard block
 block discarded – undo
182 182
 	}
183 183
 
184 184
 	/**
185
-	* Function for preparing the data for update in an SQL query
186
-	* (The service handles insertion)
187
-	*
188
-	* @param array $type_data Data unique to this notification type
189
-	* @return array Array of data ready to be updated in the database
190
-	*/
185
+	 * Function for preparing the data for update in an SQL query
186
+	 * (The service handles insertion)
187
+	 *
188
+	 * @param array $type_data Data unique to this notification type
189
+	 * @return array Array of data ready to be updated in the database
190
+	 */
191 191
 	public function create_update_array($type_data)
192 192
 	{
193 193
 		$data = $this->create_insert_array($type_data);
Please login to merge, or discard this patch.
notification/type/directory_website_in_queue.php 1 patch
Indentation   +61 added lines, -61 removed lines patch added patch discarded remove patch
@@ -18,31 +18,31 @@  discard block
 block discarded – undo
18 18
 class directory_website_in_queue extends \phpbb\notification\type\base
19 19
 {
20 20
 	/**
21
-	* Get notification type name
22
-	*
23
-	* @return string
24
-	*/
21
+	 * Get notification type name
22
+	 *
23
+	 * @return string
24
+	 */
25 25
 	public function get_type()
26 26
 	{
27 27
 		return 'ernadoo.phpbbdirectory.notification.type.directory_website_in_queue';
28 28
 	}
29 29
 
30 30
 	/**
31
-	* Notification option data (for outputting to the user)
32
-	*
33
-	* @var bool|array False if the service should use it's default data
34
-	* 					Array of data (including keys 'id', 'lang', and 'group')
35
-	*/
31
+	 * Notification option data (for outputting to the user)
32
+	 *
33
+	 * @var bool|array False if the service should use it's default data
34
+	 * 					Array of data (including keys 'id', 'lang', and 'group')
35
+	 */
36 36
 	public static $notification_option = array(
37 37
 		'lang'	=> 'NOTIFICATION_TYPE_DIR_UCP_IN_MODERATION_QUEUE',
38 38
 		'group'	=> 'NOTIFICATION_DIR_UCP',
39 39
 	);
40 40
 
41 41
 	/**
42
-	* Permission to check for (in find_users_for_notification)
43
-	*
44
-	* @var string Permission name
45
-	*/
42
+	 * Permission to check for (in find_users_for_notification)
43
+	 *
44
+	 * @var string Permission name
45
+	 */
46 46
 	protected $permission = 'a_';
47 47
 
48 48
 	/** @var \phpbb\user_loader */
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
 	}
55 55
 
56 56
 	/**
57
-	* Is available
58
-	*
59
-	* @return bool True/False whether or not this is available to the user
60
-	*/
57
+	 * Is available
58
+	 *
59
+	 * @return bool True/False whether or not this is available to the user
60
+	 */
61 61
 	public function is_available()
62 62
 	{
63 63
 		$has_permission = $this->auth->acl_get($this->permission, true);
@@ -66,21 +66,21 @@  discard block
 block discarded – undo
66 66
 	}
67 67
 
68 68
 	/**
69
-	* Get link id
70
-	*
71
-	* @param array $data The data from the link
72
-	* @return int
73
-	*/
69
+	 * Get link id
70
+	 *
71
+	 * @param array $data The data from the link
72
+	 * @return int
73
+	 */
74 74
 	static public function get_item_id($data)
75 75
 	{
76 76
 		return (int) $data['link_id'];
77 77
 	}
78 78
 
79 79
 	/**
80
-	* Get parent id - it's not used
81
-	*
82
-	* @param array $data The data from the link
83
-	*/
80
+	 * Get parent id - it's not used
81
+	 *
82
+	 * @param array $data The data from the link
83
+	 */
84 84
 	static public function get_item_parent_id($data)
85 85
 	{
86 86
 		// No parent
@@ -88,12 +88,12 @@  discard block
 block discarded – undo
88 88
 	}
89 89
 
90 90
 	/**
91
-	* Find the users who want to receive notifications
92
-	*
93
-	* @param	array	$data		Data from submit link
94
-	* @param	array	$options	Options for finding users for notification
95
-	* @return	array
96
-	*/
91
+	 * Find the users who want to receive notifications
92
+	 *
93
+	 * @param	array	$data		Data from submit link
94
+	 * @param	array	$options	Options for finding users for notification
95
+	 * @return	array
96
+	 */
97 97
 	public function find_users_for_notification($data, $options = array())
98 98
 	{
99 99
 		$options = array_merge(array(
@@ -113,18 +113,18 @@  discard block
 block discarded – undo
113 113
 	}
114 114
 
115 115
 	/**
116
-	* Get the user's avatar
117
-	*/
116
+	 * Get the user's avatar
117
+	 */
118 118
 	public function get_avatar()
119 119
 	{
120 120
 		return $this->user_loader->get_avatar($this->get_data('user_from'), false, true);
121 121
 	}
122 122
 
123 123
 	/**
124
-	* Get the HTML formatted title of this notification
125
-	*
126
-	* @return string
127
-	*/
124
+	 * Get the HTML formatted title of this notification
125
+	 *
126
+	 * @return string
127
+	 */
128 128
 	public function get_title()
129 129
 	{
130 130
 		$link_name = $this->get_data('link_name');
@@ -134,30 +134,30 @@  discard block
 block discarded – undo
134 134
 	}
135 135
 
136 136
 	/**
137
-	* Get email template
138
-	*
139
-	* @return string
140
-	*/
137
+	 * Get email template
138
+	 *
139
+	 * @return string
140
+	 */
141 141
 	public function get_email_template()
142 142
 	{
143 143
 		return '@ernadoo_phpbbdirectory/directory_website_in_queue';
144 144
 	}
145 145
 
146 146
 	/**
147
-	* Get email template variables
148
-	*
149
-	* @return array
150
-	*/
147
+	 * Get email template variables
148
+	 *
149
+	 * @return array
150
+	 */
151 151
 	public function get_email_template_variables()
152 152
 	{
153 153
 		return array();
154 154
 	}
155 155
 
156 156
 	/**
157
-	* Get the url to this item
158
-	*
159
-	* @return string URL
160
-	*/
157
+	 * Get the url to this item
158
+	 *
159
+	 * @return string URL
160
+	 */
161 161
 	public function get_url()
162 162
 	{
163 163
 		global $phpbb_admin_path;
@@ -166,23 +166,23 @@  discard block
 block discarded – undo
166 166
 	}
167 167
 
168 168
 	/**
169
-	* Users needed to query before this notification can be displayed
170
-	*
171
-	* @return array Array of user_ids
172
-	*/
169
+	 * Users needed to query before this notification can be displayed
170
+	 *
171
+	 * @return array Array of user_ids
172
+	 */
173 173
 	public function users_to_query()
174 174
 	{
175 175
 		return array($this->get_data('user_from'));
176 176
 	}
177 177
 
178 178
 	/**
179
-	* Function for preparing the data for insertion in an SQL query
180
-	* (The service handles insertion)
181
-	*
182
-	* @param	array	$data				Data from submit link
183
-	* @param	array	$pre_create_data	Data from pre_create_insert_array()
184
-	* @return	array						Array of data ready to be inserted into the database
185
-	*/
179
+	 * Function for preparing the data for insertion in an SQL query
180
+	 * (The service handles insertion)
181
+	 *
182
+	 * @param	array	$data				Data from submit link
183
+	 * @param	array	$pre_create_data	Data from pre_create_insert_array()
184
+	 * @return	array						Array of data ready to be inserted into the database
185
+	 */
186 186
 	public function create_insert_array($data, $pre_create_data = array())
187 187
 	{
188 188
 		$this->set_data('user_from', $data['user_from']);
Please login to merge, or discard this patch.
search/fulltext_directory.php 2 patches
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -16,32 +16,32 @@
 block discarded – undo
16 16
 	protected $db;
17 17
 
18 18
 	/**
19
-	* Constructor
20
-	*
21
-	* @param \phpbb\db\driver\driver_interface $db
22
-	*/
19
+	 * Constructor
20
+	 *
21
+	 * @param \phpbb\db\driver\driver_interface $db
22
+	 */
23 23
 	public function __construct(\phpbb\db\driver\driver_interface $db)
24 24
 	{
25 25
 		$this->db = $db;
26 26
 	}
27 27
 
28 28
 	/**
29
-	* Performs a search on keywords depending on display specific params. You have to run split_keywords() first
30
-	*
31
-	* @param	array		$keywords_ary		contains each words to search
32
-	* @param	string		$fields				contains either titleonly (link titles should be searched), desconly (only description bodies should be searched)
33
-	* @param	string		$terms				is either 'all' (use query as entered, words without prefix should default to "have to be in field") or 'any' (ignore search query parts and just return all posts that contain any of the specified words)
34
-	* @param	array		$sort_by_sql		contains SQL code for the ORDER BY part of a query
35
-	* @param	string		$sort_key			is the key of $sort_by_sql for the selected sorting
36
-	* @param	string		$sort_dir			is either a or d representing ASC and DESC
37
-	* @param	string		$sort_days			specifies the maximum amount of days a post may be old
38
-	* @param	array		$ex_cid_ary			specifies an array of category ids which should not be searched
39
-	* @param	int			$cat_id				is set to 0 or a topic id, if it is not 0 then only posts in this topic should be searched
40
-	* @param	array		&$id_ary			passed by reference, to be filled with ids for the page specified by $start and $per_page, should be ordered
41
-	* @param	int			$start				indicates the first index of the page
42
-	* @param	int			$per_page			number of ids each page is supposed to contain
43
-	* @return	int								total number of results
44
-	*/
29
+	 * Performs a search on keywords depending on display specific params. You have to run split_keywords() first
30
+	 *
31
+	 * @param	array		$keywords_ary		contains each words to search
32
+	 * @param	string		$fields				contains either titleonly (link titles should be searched), desconly (only description bodies should be searched)
33
+	 * @param	string		$terms				is either 'all' (use query as entered, words without prefix should default to "have to be in field") or 'any' (ignore search query parts and just return all posts that contain any of the specified words)
34
+	 * @param	array		$sort_by_sql		contains SQL code for the ORDER BY part of a query
35
+	 * @param	string		$sort_key			is the key of $sort_by_sql for the selected sorting
36
+	 * @param	string		$sort_dir			is either a or d representing ASC and DESC
37
+	 * @param	string		$sort_days			specifies the maximum amount of days a post may be old
38
+	 * @param	array		$ex_cid_ary			specifies an array of category ids which should not be searched
39
+	 * @param	int			$cat_id				is set to 0 or a topic id, if it is not 0 then only posts in this topic should be searched
40
+	 * @param	array		&$id_ary			passed by reference, to be filled with ids for the page specified by $start and $per_page, should be ordered
41
+	 * @param	int			$start				indicates the first index of the page
42
+	 * @param	int			$per_page			number of ids each page is supposed to contain
43
+	 * @return	int								total number of results
44
+	 */
45 45
 	public function keyword_search($keywords_ary, $fields, $terms, $sort_by_sql, $sort_key, $sort_dir, $sort_days, $ex_cid_ary, $cat_id, &$id_ary, $start, $per_page)
46 46
 	{
47 47
 		$matches = array();
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -67,20 +67,20 @@  discard block
 block discarded – undo
67 67
 			$match_search_query = '';
68 68
 			foreach ($matches as $match)
69 69
 			{
70
-				$match_search_query .= (($match_search_query) ? ' OR ' : '') . 'LOWER('. $match . ') ';
71
-				$match_search_query .= $this->db->sql_like_expression(str_replace('*', $this->db->get_any_char(), $this->db->get_any_char() . strtolower($word) . $this->db->get_any_char()));
70
+				$match_search_query .= (($match_search_query) ? ' OR ' : '').'LOWER('.$match.') ';
71
+				$match_search_query .= $this->db->sql_like_expression(str_replace('*', $this->db->get_any_char(), $this->db->get_any_char().strtolower($word).$this->db->get_any_char()));
72 72
 			}
73
-			$search_query .= ((!$search_query) ? '' : (($terms == 'all') ? ' AND ' : ' OR ')) . '(' . $match_search_query . ')';
73
+			$search_query .= ((!$search_query) ? '' : (($terms == 'all') ? ' AND ' : ' OR ')).'('.$match_search_query.')';
74 74
 		}
75 75
 		$direction = (($sort_dir == 'd') ? 'DESC' : 'ASC');
76 76
 
77 77
 		if (is_array($sort_by_sql[$sort_key]))
78 78
 		{
79
-			$sql_sort_order = implode(' ' . $direction . ', ', $sort_by_sql[$sort_key]) . ' ' . $direction;
79
+			$sql_sort_order = implode(' '.$direction.', ', $sort_by_sql[$sort_key]).' '.$direction;
80 80
 		}
81 81
 		else
82 82
 		{
83
-			$sql_sort_order = $sort_by_sql[$sort_key] . ' ' . $direction;
83
+			$sql_sort_order = $sort_by_sql[$sort_key].' '.$direction;
84 84
 		}
85 85
 
86 86
 		$sql_array = array(
@@ -88,10 +88,10 @@  discard block
 block discarded – undo
88 88
 			'FROM'		=> array(
89 89
 					DIR_LINK_TABLE	=> 'l'),
90 90
 			'WHERE'		=> 'l.link_active = 1
91
-				' . (($search_query) ? 'AND (' . $search_query . ')' : '') . '
92
-				' . (sizeof($ex_cid_ary) ? ' AND ' . $this->db->sql_in_set('l.link_cat', $ex_cid_ary, true) : '') . '
93
-				' . (($cat_id) ? ' AND ' . $this->db->sql_in_set('l.link_cat', $cat_id) : '') . '
94
-				' . (($sort_days) ? ' AND l.link_time >= ' . (time() - ($sort_days * 86400)) : ''),
91
+				' . (($search_query) ? 'AND ('.$search_query.')' : '').'
92
+				' . (sizeof($ex_cid_ary) ? ' AND '.$this->db->sql_in_set('l.link_cat', $ex_cid_ary, true) : '').'
93
+				' . (($cat_id) ? ' AND '.$this->db->sql_in_set('l.link_cat', $cat_id) : '').'
94
+				' . (($sort_days) ? ' AND l.link_time >= '.(time() - ($sort_days * 86400)) : ''),
95 95
 			'ORDER_BY'	=> $sql_sort_order
96 96
 		);
97 97
 
Please login to merge, or discard this patch.
notification/type/directory_website.php 2 patches
Indentation   +62 added lines, -62 removed lines patch added patch discarded remove patch
@@ -21,32 +21,32 @@  discard block
 block discarded – undo
21 21
 	protected $helper;
22 22
 
23 23
 	/**
24
-	* Set the controller helper
25
-	*
26
-	* @param \phpbb\controller\helper $helper
27
-	* @return null
28
-	*/
24
+	 * Set the controller helper
25
+	 *
26
+	 * @param \phpbb\controller\helper $helper
27
+	 * @return null
28
+	 */
29 29
 	public function set_controller_helper(\phpbb\controller\helper $helper)
30 30
 	{
31 31
 		$this->helper = $helper;
32 32
 	}
33 33
 
34 34
 	/**
35
-	* Get notification type name
36
-	*
37
-	* @return string
38
-	*/
35
+	 * Get notification type name
36
+	 *
37
+	 * @return string
38
+	 */
39 39
 	public function get_type()
40 40
 	{
41 41
 		return 'ernadoo.phpbbdirectory.notification.type.directory_website';
42 42
 	}
43 43
 
44 44
 	/**
45
-	* Notification option data (for outputting to the user)
46
-	*
47
-	* @var bool|array False if the service should use it's default data
48
-	* 					Array of data (including keys 'id', 'lang', and 'group')
49
-	*/
45
+	 * Notification option data (for outputting to the user)
46
+	 *
47
+	 * @var bool|array False if the service should use it's default data
48
+	 * 					Array of data (including keys 'id', 'lang', and 'group')
49
+	 */
50 50
 	public static $notification_option = array(
51 51
 		'lang'	=> 'NOTIFICATION_TYPE_DIR_UCP_WEBSITE',
52 52
 		'group'	=> 'NOTIFICATION_DIR_UCP',
@@ -61,31 +61,31 @@  discard block
 block discarded – undo
61 61
 	}
62 62
 
63 63
 	/**
64
-	* Is available
65
-	*
66
-	* @return bool True/False whether or not this is available to the user
67
-	*/
64
+	 * Is available
65
+	 *
66
+	 * @return bool True/False whether or not this is available to the user
67
+	 */
68 68
 	public function is_available()
69 69
 	{
70 70
 		return true;
71 71
 	}
72 72
 
73 73
 	/**
74
-	* Get link id
75
-	*
76
-	* @param array $data The data from the link
77
-	* @return int
78
-	*/
74
+	 * Get link id
75
+	 *
76
+	 * @param array $data The data from the link
77
+	 * @return int
78
+	 */
79 79
 	static public function get_item_id($data)
80 80
 	{
81 81
 		return (int) $data['link_id'];
82 82
 	}
83 83
 
84 84
 	/**
85
-	* Get parent id - it's not used
86
-	*
87
-	* @param array $data The data from the link
88
-	*/
85
+	 * Get parent id - it's not used
86
+	 *
87
+	 * @param array $data The data from the link
88
+	 */
89 89
 	static public function get_item_parent_id($data)
90 90
 	{
91 91
 		// No parent
@@ -93,12 +93,12 @@  discard block
 block discarded – undo
93 93
 	}
94 94
 
95 95
 	/**
96
-	* Find the users who want to receive notifications
97
-	*
98
-	* @param	array	$data		Data from submit link
99
-	* @param	array	$options	Options for finding users for notification
100
-	* @return	array
101
-	*/
96
+	 * Find the users who want to receive notifications
97
+	 *
98
+	 * @param	array	$data		Data from submit link
99
+	 * @param	array	$options	Options for finding users for notification
100
+	 * @return	array
101
+	 */
102 102
 	public function find_users_for_notification($data, $options = array())
103 103
 	{
104 104
 		$options = array_merge(array(
@@ -130,8 +130,8 @@  discard block
 block discarded – undo
130 130
 	}
131 131
 
132 132
 	/**
133
-	* Get the user's avatar
134
-	*/
133
+	 * Get the user's avatar
134
+	 */
135 135
 	public function get_avatar()
136 136
 	{
137 137
 		return $this->user_loader->get_avatar($this->get_data('user_from'), false, true);
@@ -139,10 +139,10 @@  discard block
 block discarded – undo
139 139
 
140 140
 
141 141
 	/**
142
-	* Get the HTML formatted title of this notification
143
-	*
144
-	* @return string
145
-	*/
142
+	 * Get the HTML formatted title of this notification
143
+	 *
144
+	 * @return string
145
+	 */
146 146
 
147 147
 	public function get_title()
148 148
 	{
@@ -155,20 +155,20 @@  discard block
 block discarded – undo
155 155
 
156 156
 
157 157
 	/**
158
-	* Get email template
159
-	*
160
-	* @return string
161
-	*/
158
+	 * Get email template
159
+	 *
160
+	 * @return string
161
+	 */
162 162
 	public function get_email_template()
163 163
 	{
164 164
 		return '@ernadoo_phpbbdirectory/directory_website';
165 165
 	}
166 166
 
167 167
 	/**
168
-	* Get email template variables
169
-	*
170
-	* @return array
171
-	*/
168
+	 * Get email template variables
169
+	 *
170
+	 * @return array
171
+	 */
172 172
 	public function get_email_template_variables()
173 173
 	{
174 174
 		return array(
@@ -180,33 +180,33 @@  discard block
 block discarded – undo
180 180
 	}
181 181
 
182 182
 	/**
183
-	* Get the url to this item
184
-	*
185
-	* @return string URL
186
-	*/
183
+	 * Get the url to this item
184
+	 *
185
+	 * @return string URL
186
+	 */
187 187
 	public function get_url()
188 188
 	{
189 189
 		return $this->helper->route('ernadoo_phpbbdirectory_page_controller', array('cat_id' => (int) $this->get_data('cat_id')));
190 190
 	}
191 191
 
192 192
 	/**
193
-	* Users needed to query before this notification can be displayed
194
-	*
195
-	* @return array Array of user_ids
196
-	*/
193
+	 * Users needed to query before this notification can be displayed
194
+	 *
195
+	 * @return array Array of user_ids
196
+	 */
197 197
 	public function users_to_query()
198 198
 	{
199 199
 		return array($this->get_data('user_from'));
200 200
 	}
201 201
 
202 202
 	/**
203
-	* Function for preparing the data for insertion in an SQL query
204
-	* (The service handles insertion)
205
-	*
206
-	* @param	array	$data				Data from submit link
207
-	* @param	array	$pre_create_data	Data from pre_create_insert_array()
208
-	* @return	array						Array of data ready to be inserted into the database
209
-	*/
203
+	 * Function for preparing the data for insertion in an SQL query
204
+	 * (The service handles insertion)
205
+	 *
206
+	 * @param	array	$data				Data from submit link
207
+	 * @param	array	$pre_create_data	Data from pre_create_insert_array()
208
+	 * @return	array						Array of data ready to be inserted into the database
209
+	 */
210 210
 	public function create_insert_array($data, $pre_create_data = array())
211 211
 	{
212 212
 		$this->set_data('link_name', $data['link_name']);
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -122,9 +122,9 @@
 block discarded – undo
122 122
 		$users = array();
123 123
 
124 124
 		$sql = 'SELECT user_id
125
-			FROM ' . $this->watch_table . '
126
-			WHERE cat_id = ' . (int) $data['cat_id'] . '
127
-				AND notify_status = ' . NOTIFY_YES . '
125
+			FROM ' . $this->watch_table.'
126
+			WHERE cat_id = ' . (int) $data['cat_id'].'
127
+				AND notify_status = ' . NOTIFY_YES.'
128 128
 				AND user_id <> ' . (int) $data['user_from'];
129 129
 		$result = $this->db->sql_query($sql);
130 130
 		while ($row = $this->db->sql_fetchrow($result))
Please login to merge, or discard this patch.
notification/type/directory_website_approved.php 1 patch
Indentation   +64 added lines, -64 removed lines patch added patch discarded remove patch
@@ -21,32 +21,32 @@  discard block
 block discarded – undo
21 21
 	protected $helper;
22 22
 
23 23
 	/**
24
-	* Set the controller helper
25
-	*
26
-	* @param \phpbb\controller\helper $helper
27
-	* @return null
28
-	*/
24
+	 * Set the controller helper
25
+	 *
26
+	 * @param \phpbb\controller\helper $helper
27
+	 * @return null
28
+	 */
29 29
 	public function set_controller_helper(\phpbb\controller\helper $helper)
30 30
 	{
31 31
 		$this->helper = $helper;
32 32
 	}
33 33
 
34 34
 	/**
35
-	* Get notification type name
36
-	*
37
-	* @return string
38
-	*/
35
+	 * Get notification type name
36
+	 *
37
+	 * @return string
38
+	 */
39 39
 	public function get_type()
40 40
 	{
41 41
 		return 'ernadoo.phpbbdirectory.notification.type.directory_website_approved';
42 42
 	}
43 43
 
44 44
 	/**
45
-	* Notification option data (for outputting to the user)
46
-	*
47
-	* @var bool|array False if the service should use it's default data
48
-	* 					Array of data (including keys 'id', 'lang', and 'group')
49
-	*/
45
+	 * Notification option data (for outputting to the user)
46
+	 *
47
+	 * @var bool|array False if the service should use it's default data
48
+	 * 					Array of data (including keys 'id', 'lang', and 'group')
49
+	 */
50 50
 	public static $notification_option = array(
51 51
 		'id'	=> 'dir_moderation_queue',
52 52
 		'lang'	=> 'NOTIFICATION_TYPE_DIR_UCP_MODERATION_QUEUE',
@@ -54,17 +54,17 @@  discard block
 block discarded – undo
54 54
 	);
55 55
 
56 56
 	/**
57
-	* Permission to check for (in find_users_for_notification)
58
-	*
59
-	* @var string Permission name
60
-	*/
57
+	 * Permission to check for (in find_users_for_notification)
58
+	 *
59
+	 * @var string Permission name
60
+	 */
61 61
 	protected $permission = array('a_', 'm_');
62 62
 
63 63
 	/**
64
-	* Is available
65
-	*
66
-	* @return bool True/False whether or not this is available to the user
67
-	*/
64
+	 * Is available
65
+	 *
66
+	 * @return bool True/False whether or not this is available to the user
67
+	 */
68 68
 	public function is_available()
69 69
 	{
70 70
 		$has_permission = $this->auth->acl_gets($this->permission, true);
@@ -73,21 +73,21 @@  discard block
 block discarded – undo
73 73
 	}
74 74
 
75 75
 	/**
76
-	* Get link id
77
-	*
78
-	* @param array $data The data from the link
79
-	* @return int
80
-	*/
76
+	 * Get link id
77
+	 *
78
+	 * @param array $data The data from the link
79
+	 * @return int
80
+	 */
81 81
 	static public function get_item_id($data)
82 82
 	{
83 83
 		return (int) $data['link_id'];
84 84
 	}
85 85
 
86 86
 	/**
87
-	* Get parent id - it's not used
88
-	*
89
-	* @param array $data The data from the link
90
-	*/
87
+	 * Get parent id - it's not used
88
+	 *
89
+	 * @param array $data The data from the link
90
+	 */
91 91
 	static public function get_item_parent_id($data)
92 92
 	{
93 93
 		// No parent
@@ -95,12 +95,12 @@  discard block
 block discarded – undo
95 95
 	}
96 96
 
97 97
 	/**
98
-	* Find the users who want to receive notifications
99
-	*
100
-	* @param	array	$data		Data from submit link
101
-	* @param	array	$options	Options for finding users for notification
102
-	* @return	array
103
-	*/
98
+	 * Find the users who want to receive notifications
99
+	 *
100
+	 * @param	array	$data		Data from submit link
101
+	 * @param	array	$options	Options for finding users for notification
102
+	 * @return	array
103
+	 */
104 104
 	public function find_users_for_notification($data, $options = array())
105 105
 	{
106 106
 		$options = array_merge(array(
@@ -116,10 +116,10 @@  discard block
 block discarded – undo
116 116
 	}
117 117
 
118 118
 	/**
119
-	* Get the HTML formatted title of this notification
120
-	*
121
-	* @return string
122
-	*/
119
+	 * Get the HTML formatted title of this notification
120
+	 *
121
+	 * @return string
122
+	 */
123 123
 	public function get_title()
124 124
 	{
125 125
 		$link_name = $this->get_data('link_name');
@@ -129,20 +129,20 @@  discard block
 block discarded – undo
129 129
 	}
130 130
 
131 131
 	/**
132
-	* Get email template
133
-	*
134
-	* @return string
135
-	*/
132
+	 * Get email template
133
+	 *
134
+	 * @return string
135
+	 */
136 136
 	public function get_email_template()
137 137
 	{
138 138
 		return '@ernadoo_phpbbdirectory/directory_website_approved';
139 139
 	}
140 140
 
141 141
 	/**
142
-	* Get email template variables
143
-	*
144
-	* @return array
145
-	*/
142
+	 * Get email template variables
143
+	 *
144
+	 * @return array
145
+	 */
146 146
 	public function get_email_template_variables()
147 147
 	{
148 148
 		return array(
@@ -151,33 +151,33 @@  discard block
 block discarded – undo
151 151
 	}
152 152
 
153 153
 	/**
154
-	* Get the url to this item
155
-	*
156
-	* @return string URL
157
-	*/
154
+	 * Get the url to this item
155
+	 *
156
+	 * @return string URL
157
+	 */
158 158
 	public function get_url()
159 159
 	{
160 160
 		return $this->helper->route('ernadoo_phpbbdirectory_page_controller', array('cat_id' => (int) $this->get_data('cat_id')));
161 161
 	}
162 162
 
163 163
 	/**
164
-	* Users needed to query before this notification can be displayed
165
-	*
166
-	* @return array Array of user_ids
167
-	*/
164
+	 * Users needed to query before this notification can be displayed
165
+	 *
166
+	 * @return array Array of user_ids
167
+	 */
168 168
 	public function users_to_query()
169 169
 	{
170 170
 		return array();
171 171
 	}
172 172
 
173 173
 	/**
174
-	* Function for preparing the data for insertion in an SQL query
175
-	* (The service handles insertion)
176
-	*
177
-	* @param	array	$data				Data from submit link
178
-	* @param	array	$pre_create_data	Data from pre_create_insert_array()
179
-	* @return	array						Array of data ready to be inserted into the database
180
-	*/
174
+	 * Function for preparing the data for insertion in an SQL query
175
+	 * (The service handles insertion)
176
+	 *
177
+	 * @param	array	$data				Data from submit link
178
+	 * @param	array	$pre_create_data	Data from pre_create_insert_array()
179
+	 * @return	array						Array of data ready to be inserted into the database
180
+	 */
181 181
 	public function create_insert_array($data, $pre_create_data = array())
182 182
 	{
183 183
 		$this->set_data('link_name', $data['link_name']);
Please login to merge, or discard this patch.
migrations/v20x/v2_0_0.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@  discard block
 block discarded – undo
13 13
 class v2_0_0 extends \phpbb\db\migration\container_aware_migration
14 14
 {
15 15
 	/**
16
-	* @inheritDoc
17
-	*/
16
+	 * @inheritDoc
17
+	 */
18 18
 	static public function depends_on()
19 19
 	{
20 20
 		return array(
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
 	}
24 24
 
25 25
 	/**
26
-	* @inheritDoc
27
-	*/
26
+	 * @inheritDoc
27
+	 */
28 28
 	public function update_data()
29 29
 	{
30 30
 		return array(
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 		{
46 46
 			$default_reparser = new $fast_reparsers[0][0](
47 47
 				$this->db,
48
-				$this->container->getParameter('core.table_prefix') . $fast_reparsers[0][1]);
48
+				$this->container->getParameter('core.table_prefix').$fast_reparsers[0][1]);
49 49
 
50 50
 			$resume_data = array(
51 51
 				'reparser'	=> 0,
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 		{
61 61
 			$reparser = new $fast_reparsers[$resume_data['reparser']][0](
62 62
 				$this->db,
63
-				$this->container->getParameter('core.table_prefix') . $fast_reparsers[$resume_data['reparser']][1]
63
+				$this->container->getParameter('core.table_prefix').$fast_reparsers[$resume_data['reparser']][1]
64 64
 				);
65 65
 
66 66
 			// New reparser
Please login to merge, or discard this patch.
textreparser/plugins/comment_text.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 class comment_text extends \phpbb\textreparser\row_based_plugin
14 14
 {
15 15
 	/**
16
-	* {@inheritdoc}
17
-	*/
16
+	 * {@inheritdoc}
17
+	 */
18 18
 	public function get_columns()
19 19
 	{
20 20
 		return array(
Please login to merge, or discard this patch.