Completed
Branch master (4b027e)
by Pierre-Henry
36:32
created
_install/inc/fns/misc.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
 /**
281 281
  * Check if Apache's mod_rewrite is installed.
282 282
  *
283
- * @return boolean
283
+ * @return null|boolean
284 284
  */
285 285
 function is_url_rewrite()
286 286
 {
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
 /**
359 359
  * Checks if the URL is valid and contains the HTTP status code '200 OK', '301 Moved Permanently' or '302 Found'
360 360
  *
361
- * @return string $sUrl
361
+ * @return boolean $sUrl
362 362
  * @return boolean
363 363
  */
364 364
 function check_url($sUrl)
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
  * Check license key.
377 377
  *
378 378
  * @param string $sKey The License Key.
379
- * @return boolean
379
+ * @return integer
380 380
  */
381 381
 function check_license($sKey)
382 382
 {
Please login to merge, or discard this patch.
_install/library/Smarty/plugins/function.html_options.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -184,6 +184,10 @@
 block discarded – undo
184 184
     return $_html_result;
185 185
 }
186 186
 
187
+/**
188
+ * @param string|null $id
189
+ * @param integer $idx
190
+ */
187 191
 function smarty_function_html_options_optgroup($key, $values, $selected, $id, $class, &$idx)
188 192
 {
189 193
     $optgroup_html = '<optgroup label="' . smarty_function_escape_special_chars($key) . '">' . "\n";
Please login to merge, or discard this patch.
_install/library/Smarty/plugins/function.html_table.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -164,6 +164,10 @@
 block discarded – undo
164 164
     return $output;
165 165
 }
166 166
 
167
+/**
168
+ * @param string $name
169
+ * @param string $var
170
+ */
167 171
 function smarty_function_html_table_cycle($name, $var, $no)
168 172
 {
169 173
     if (!is_array($var)) {
Please login to merge, or discard this patch.
_protected/app/system/core/assets/ajax/LikeCoreAjax.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,8 @@
 block discarded – undo
12 12
 namespace PH7;
13 13
 defined('PH7') or exit('Restricted access');
14 14
 
15
-use PH7\Framework\Mvc\Request\Http, PH7\Framework\Ip\Ip;
15
+use PH7\Framework\Mvc\Request\Http;
16
+use PH7\Framework\Ip\Ip;
16 17
 
17 18
 class LikeCoreAjax
18 19
 {
Please login to merge, or discard this patch.
_protected/app/system/core/assets/ajax/popup/confirmCoreAjax.php 1 patch
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,12 +8,11 @@
 block discarded – undo
8 8
 namespace PH7;
9 9
 defined('PH7') or exit('Restricted access');
10 10
 
11
-use
12
-PH7\Framework\Mvc\Request\Http,
13
-PH7\Framework\Layout\Html\Design,
14
-PH7\Framework\Url\Url,
15
-PH7\Framework\Mvc\Router\Uri,
16
-PH7\Framework\Url\Header;
11
+use PH7\Framework\Mvc\Request\Http;
12
+use PH7\Framework\Layout\Html\Design;
13
+use PH7\Framework\Url\Url;
14
+use PH7\Framework\Mvc\Router\Uri;
15
+use PH7\Framework\Url\Header;
17 16
 
18 17
 if (AdminCore::auth() || UserCore::auth() || AffiliateCore::auth())
19 18
 {
Please login to merge, or discard this patch.
_protected/app/system/core/assets/ajax/SmileCoreAjax.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,8 @@
 block discarded – undo
11 11
 namespace PH7;
12 12
 defined('PH7') or exit('Restricted access');
13 13
 
14
-use PH7\Framework\Cache\Cache, PH7\Framework\Http\Http;
14
+use PH7\Framework\Cache\Cache;
15
+use PH7\Framework\Http\Http;
15 16
 
16 17
 class SmileCoreAjax extends \PH7\Framework\Service\Emoticon
17 18
 {
Please login to merge, or discard this patch.
_protected/app/system/core/assets/ajax/ValidateCoreAjax.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,11 +12,10 @@
 block discarded – undo
12 12
 namespace PH7;
13 13
 defined('PH7') or exit('Restricted access');
14 14
 
15
-use
16
-PH7\Framework\Str\Str,
17
-PH7\Framework\Mvc\Model\DbConfig,
18
-PH7\Framework\Security\Validate\Validate,
19
-PH7\Framework\Mvc\Request\Http;
15
+use PH7\Framework\Str\Str;
16
+use PH7\Framework\Mvc\Model\DbConfig;
17
+use PH7\Framework\Security\Validate\Validate;
18
+use PH7\Framework\Mvc\Request\Http;
20 19
 
21 20
 class ValidateCoreAjax
22 21
 {
Please login to merge, or discard this patch.
_protected/app/system/core/assets/cron/96h/DatabaseCoreCron.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,10 +12,9 @@
 block discarded – undo
12 12
 namespace PH7;
13 13
 defined('PH7') or exit('Restricted access');
14 14
 
15
-use
16
-PH7\Framework\Mvc\Model\Engine\Db,
17
-PH7\Framework\Mvc\Model\DbConfig,
18
-PH7\Framework\Mvc\Model\Engine\Util\Backup;
15
+use PH7\Framework\Mvc\Model\Engine\Db;
16
+use PH7\Framework\Mvc\Model\DbConfig;
17
+use PH7\Framework\Mvc\Model\Engine\Util\Backup;
19 18
 
20 19
 class DatabaseCoreCron extends Cron
21 20
 {
Please login to merge, or discard this patch.
_protected/app/system/core/assets/js/mailcheck.jsCoreJs.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,11 +12,10 @@
 block discarded – undo
12 12
 namespace PH7;
13 13
 defined('PH7') or exit('Restricted access');
14 14
 
15
-use
16
-PH7\Framework\Config\Config,
17
-PH7\Framework\Cache\Cache,
18
-PH7\Framework\Compress\Compress,
19
-PH7\Framework\Service\Suggestion;
15
+use PH7\Framework\Config\Config;
16
+use PH7\Framework\Cache\Cache;
17
+use PH7\Framework\Compress\Compress;
18
+use PH7\Framework\Service\Suggestion;
20 19
 
21 20
 $oCache = (new Cache)->start('str/js', 'mailcheck', 120*48*30);
22 21
 
Please login to merge, or discard this patch.