Completed
Branch master (bf361a)
by Pierre-Henry
35:18
created
_protected/app/system/modules/admin123/controllers/MainController.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,11 +10,10 @@
 block discarded – undo
10 10
  */
11 11
 namespace PH7;
12 12
 
13
-use
14
-PH7\Framework\Mvc\Model\DbConfig,
15
-PH7\Framework\Layout\Html\Meta,
16
-PH7\Framework\Core\Kernel,
17
-PH7\Framework\Security\Version;
13
+use PH7\Framework\Mvc\Model\DbConfig;
14
+use PH7\Framework\Layout\Html\Meta;
15
+use PH7\Framework\Core\Kernel;
16
+use PH7\Framework\Security\Version;
18 17
 
19 18
 class MainController extends Controller
20 19
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/controllers/ModeratorController.php 1 patch
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,12 +7,11 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use
11
-PH7\Framework\Navigation\Page,
12
-PH7\Framework\Layout\Html\Design,
13
-PH7\Framework\Cache\Cache,
14
-PH7\Framework\Url\Header,
15
-PH7\Framework\Mvc\Router\Uri;
10
+use PH7\Framework\Navigation\Page;
11
+use PH7\Framework\Layout\Html\Design;
12
+use PH7\Framework\Cache\Cache;
13
+use PH7\Framework\Url\Header;
14
+use PH7\Framework\Mvc\Router\Uri;
16 15
 
17 16
 class ModeratorController extends Controller
18 17
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/controllers/SettingController.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 SettingController extends Controller
16 15
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/forms/DisableModuleForm.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\Mvc\Router\Uri,
12
-PH7\Framework\Mvc\Model\DbConfig,
13
-PH7\Framework\Mvc\Model\Module as ModuleModel;
10
+use PH7\Framework\Mvc\Router\Uri;
11
+use PH7\Framework\Mvc\Model\DbConfig;
12
+use PH7\Framework\Mvc\Model\Module as ModuleModel;
14 13
 
15 14
 class DisableModuleForm
16 15
 {
Please login to merge, or discard this patch.
app/system/modules/admin123/forms/processing/AddFakeProfilesFormProcess.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@  discard block
 block discarded – undo
67 67
         \PFBC\Form::setSuccess('form_add_fake_profiles', nt('%n% user has successfully been added.', '%n% users have successfully been added.', $this->getUserNumber()));
68 68
     }
69 69
 
70
+    /**
71
+     * @return integer
72
+     */
70 73
     protected function getUserNumber()
71 74
     {
72 75
         return $this->httpRequest->post('num');
@@ -98,7 +101,7 @@  discard block
 block discarded – undo
98 101
      * @param string $sApiParms Parameters to send to the API.
99 102
      * @param string $sApiVersion Version of the API it will use. If fails from the API server, it will ignore it.
100 103
      *
101
-     * @return void
104
+     * @return string
102 105
      */
103 106
     private function getApiResults($sApiUrl, $sApiParms, $sApiVersion)
104 107
     {
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,11 +11,10 @@
 block discarded – undo
11 11
 namespace PH7;
12 12
 defined('PH7') or exit('Restricted access');
13 13
 
14
-use
15
-PH7\Framework\Url\Url,
16
-PH7\Framework\Geo\Misc\Country,
17
-PH7\Framework\Security\Validate\Validate,
18
-PH7\Framework\Ip\Ip;
14
+use PH7\Framework\Url\Url;
15
+use PH7\Framework\Geo\Misc\Country;
16
+use PH7\Framework\Security\Validate\Validate;
17
+use PH7\Framework\Ip\Ip;
19 18
 
20 19
 /** Reset the time limit and increase the memory **/
21 20
 @set_time_limit(0);
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
@@ -7,7 +7,8 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use PH7\Framework\Url\Header, PH7\Framework\Mvc\Router\Uri;
10
+use PH7\Framework\Url\Header;
11
+use PH7\Framework\Mvc\Router\Uri;
11 12
 
12 13
 class AccountController extends Controller
13 14
 {
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
@@ -9,10 +9,9 @@
 block discarded – undo
9 9
  */
10 10
 namespace PH7;
11 11
 
12
-use
13
-PH7\Framework\Navigation\Page,
14
-PH7\Framework\Url\Header,
15
-PH7\Framework\Mvc\Router\Uri;
12
+use PH7\Framework\Navigation\Page;
13
+use PH7\Framework\Url\Header;
14
+use PH7\Framework\Mvc\Router\Uri;
16 15
 
17 16
 class AdminController extends Controller
18 17
 {
Please login to merge, or discard this patch.
app/system/modules/affiliate/forms/processing/EditFormProcess.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 exit('Restricted access');
10 10
 
11
-use PH7\Framework\Cache\Cache, PH7\Framework\Mvc\Request\Http;
11
+use PH7\Framework\Cache\Cache;
12
+use PH7\Framework\Mvc\Request\Http;
12 13
 
13 14
 class EditFormProcess extends Form
14 15
 {
Please login to merge, or discard this patch.
app/system/modules/affiliate/forms/processing/LoginFormProcess.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,11 +8,10 @@
 block discarded – undo
8 8
 namespace PH7;
9 9
 defined('PH7') or exit('Restricted access');
10 10
 
11
-use
12
-PH7\Framework\Mvc\Model\DbConfig,
13
-PH7\Framework\Mvc\Router\Uri,
14
-PH7\Framework\Url\Header,
15
-PH7\Framework\Mvc\Model\Security as SecurityModel;
11
+use PH7\Framework\Mvc\Model\DbConfig;
12
+use PH7\Framework\Mvc\Router\Uri;
13
+use PH7\Framework\Url\Header;
14
+use PH7\Framework\Mvc\Model\Security as SecurityModel;
16 15
 
17 16
 class LoginFormProcess extends Form
18 17
 {
Please login to merge, or discard this patch.