Completed
Push — master ( 5f640f...f30f41 )
by Pierre-Henry
34:09
created
app/system/modules/admin123/forms/processing/AddFakeProfilesFormProcess.php 1 patch
Unused Use Statements   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,12 +11,8 @@
 block discarded – undo
11 11
 namespace PH7;
12 12
 defined('PH7') or exit('Restricted access');
13 13
 
14
-use
15
-PH7\Framework\Util\Various,
16
-PH7\Framework\Security\Validate\Validate,
17
-PH7\Framework\Ip\Ip,
18
-PH7\Framework\Mvc\Router\Uri,
19
-PH7\Framework\Url\Header;
14
+use PH7\Framework\Security\Validate\Validate;
15
+use PH7\Framework\Ip\Ip;
20 16
 
21 17
 class AddFakeProfilesFormProcess extends Form
22 18
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/inc/class/ImportUser.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,10 +11,9 @@
 block discarded – undo
11 11
 namespace PH7;
12 12
 defined('PH7') or exit('Restricted access');
13 13
 
14
-use
15
-PH7\Framework\Util\Various,
16
-PH7\Framework\Security\Validate\Validate,
17
-PH7\Framework\Ip\Ip;
14
+use PH7\Framework\Util\Various;
15
+use PH7\Framework\Security\Validate\Validate;
16
+use PH7\Framework\Ip\Ip;
18 17
 
19 18
 /** Reset the time limit and increase the memory **/
20 19
 @set_time_limit(0);
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/inc/class/Module.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
      *
257 257
      * Note: This method is valid only for public methods, it is not necessary to check the private methods.
258 258
      * @param string $sSwitch The check constant.
259
-     * @return string Returns the constant if it is correct, otherwise an error message with exit() function.
259
+     * @return integer|null Returns the constant if it is correct, otherwise an error message with exit() function.
260 260
      */
261 261
     private function _checkParam($sSwitch)
262 262
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,8 @@
 block discarded – undo
10 10
  */
11 11
 namespace PH7;
12 12
 
13
-use
14
-PH7\Framework\Config\Config,
15
-PH7\Framework\File as F;
13
+use PH7\Framework\Config\Config;
14
+use PH7\Framework\File as F;
16 15
 
17 16
 /**
18 17
  * This is usually necessary to import data from remote server.
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/models/AdminModel.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -80,6 +80,11 @@
 block discarded – undo
80 80
         unset($oDb);
81 81
     }
82 82
 
83
+    /**
84
+     * @param boolean $bCount
85
+     * @param null|integer $iOffset
86
+     * @param null|integer $iLimit
87
+     */
83 88
     public function searchAdmin($mLooking, $bCount, $sOrderBy, $sSort, $iOffset, $iLimit)
84 89
     {
85 90
         $bCount = (bool) $bCount;
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,8 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use PH7\Framework\Security\Security, PH7\Framework\Mvc\Model\Engine\Db;
10
+use PH7\Framework\Security\Security;
11
+use PH7\Framework\Mvc\Model\Engine\Db;
11 12
 
12 13
 class AdminModel extends AdminCoreModel
13 14
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/affiliate/config/Permission.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@
 block discarded – undo
8 8
 namespace PH7;
9 9
 defined('PH7') or die('Restricted access');
10 10
 
11
-use PH7\Framework\Url\Header, PH7\Framework\Mvc\Router\Uri;
11
+use PH7\Framework\Url\Header;
12
+use PH7\Framework\Mvc\Router\Uri;
12 13
 
13 14
 class Permission extends PermissionCore
14 15
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/affiliate/controllers/AccountController.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,8 @@
 block discarded – undo
6 6
  * @package        PH7 / App / System / Module / Affiliate / Controller
7 7
  */
8 8
 namespace PH7;
9
-use PH7\Framework\Url\Header, PH7\Framework\Mvc\Router\Uri;
9
+use PH7\Framework\Url\Header;
10
+use PH7\Framework\Mvc\Router\Uri;
10 11
 
11 12
 class AccountController extends Controller
12 13
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/affiliate/controllers/AdminController.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,10 +7,9 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use
11
-PH7\Framework\Navigation\Page,
12
-PH7\Framework\Url\Header,
13
-PH7\Framework\Mvc\Router\Uri;
10
+use PH7\Framework\Navigation\Page;
11
+use PH7\Framework\Url\Header;
12
+use PH7\Framework\Mvc\Router\Uri;
14 13
 
15 14
 class AdminController extends Controller
16 15
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/affiliate/forms/EditForm.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,11 +7,10 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use
11
-PH7\Framework\Session\Session,
12
-PH7\Framework\Mvc\Request\Http,
13
-PH7\Framework\Mvc\Router\Uri,
14
-PH7\Framework\Date\CDateTime;
10
+use PH7\Framework\Session\Session;
11
+use PH7\Framework\Mvc\Request\Http;
12
+use PH7\Framework\Mvc\Router\Uri;
13
+use PH7\Framework\Date\CDateTime;
15 14
 
16 15
 class EditForm
17 16
 {
Please login to merge, or discard this patch.
app/system/modules/affiliate/forms/processing/AdsAdminFormProcess.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@
 block discarded – undo
8 8
 namespace PH7;
9 9
 defined('PH7') or die('Restricted access');
10 10
 
11
-use PH7\Framework\Mvc\Router\Uri, PH7\Framework\Url\Header;
11
+use PH7\Framework\Mvc\Router\Uri;
12
+use PH7\Framework\Url\Header;
12 13
 
13 14
 class AdsAdminFormProcess extends Form
14 15
 {
Please login to merge, or discard this patch.