Completed
Branch master (38cd35)
by Pierre-Henry
36:08
created
_protected/app/system/modules/user/controllers/SettingController.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 SettingController extends Controller
13 14
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/user/forms/processing/JoinFormProcess.php 1 patch
Unused Use Statements   +9 added lines, -10 removed lines patch added patch discarded remove patch
@@ -8,16 +8,15 @@
 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\Security\Security,
14
-PH7\Framework\Mvc\Request\Http,
15
-PH7\Framework\Util\Various,
16
-PH7\Framework\Cookie\Cookie,
17
-PH7\Framework\Ip\Ip,
18
-PH7\Framework\Date\CDateTime,
19
-PH7\Framework\Mvc\Router\Uri,
20
-PH7\Framework\Url\Header;
11
+use PH7\Framework\Mvc\Model\DbConfig;
12
+use PH7\Framework\Security\Security;
13
+use PH7\Framework\Mvc\Request\Http;
14
+use PH7\Framework\Util\Various;
15
+use PH7\Framework\Cookie\Cookie;
16
+use PH7\Framework\Ip\Ip;
17
+use PH7\Framework\Date\CDateTime;
18
+use PH7\Framework\Mvc\Router\Uri;
19
+use PH7\Framework\Url\Header;
21 20
 
22 21
 class JoinFormProcess extends Form
23 22
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/video/forms/processing/VideoFormProcess.php 1 patch
Unused Use Statements   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,13 +15,12 @@
 block discarded – undo
15 15
 namespace PH7;
16 16
 defined('PH7') or exit('Restricted access');
17 17
 
18
-use
19
-PH7\Framework\Util\Various,
20
-PH7\Framework\Mvc\Model\DbConfig,
21
-PH7\Framework\Mvc\Router\Uri,
22
-PH7\Framework\Url\Header,
23
-PH7\Framework\File as F,
24
-PH7\Framework\Video as V;
18
+use PH7\Framework\Util\Various;
19
+use PH7\Framework\Mvc\Model\DbConfig;
20
+use PH7\Framework\Mvc\Router\Uri;
21
+use PH7\Framework\Url\Header;
22
+use PH7\Framework\File as F;
23
+use PH7\Framework\Video as V;
25 24
 
26 25
 class VideoFormProcess extends Form
27 26
 {
Please login to merge, or discard this patch.
_protected/framework/Geo/Ip/Geo.class.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\Framework\Geo\Ip;
13 13
 defined('PH7') or exit('Restricted access');
14 14
 
15
-use GeoIp2\Database\Reader, PH7\Framework\Ip\Ip;
15
+use GeoIp2\Database\Reader;
16
+use PH7\Framework\Ip\Ip;
16 17
 
17 18
 class Geo
18 19
 {
Please login to merge, or discard this patch.
_protected/framework/Layout/Gzip/Gzip.class.php 1 patch
Unused Use Statements   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -13,13 +13,12 @@
 block discarded – undo
13 13
 namespace PH7\Framework\Layout\Gzip;
14 14
 defined('PH7') or exit('Restricted access');
15 15
 
16
-use
17
-PH7\Framework\File\File,
18
-PH7\Framework\Config\Config,
19
-PH7\Framework\Layout\Optimization,
20
-PH7\Framework\Navigation\Browser,
21
-PH7\Framework\Http\Http,
22
-PH7\Framework\Mvc\Request\Http as HttpRequest;
16
+use PH7\Framework\File\File;
17
+use PH7\Framework\Config\Config;
18
+use PH7\Framework\Layout\Optimization;
19
+use PH7\Framework\Navigation\Browser;
20
+use PH7\Framework\Http\Http;
21
+use PH7\Framework\Mvc\Request\Http as HttpRequest;
23 22
 
24 23
 class Gzip
25 24
 {
Please login to merge, or discard this patch.
_protected/framework/Mvc/Model/Design.class.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,11 +13,10 @@
 block discarded – undo
13 13
 namespace PH7\Framework\Mvc\Model;
14 14
 defined('PH7') or exit('Restricted access');
15 15
 
16
-use
17
-PH7\Framework\Mvc\Model\Engine\Db,
18
-PH7\Framework\Registry\Registry,
19
-PH7\Framework\Cache\Cache,
20
-PH7\Framework\Parse\SysVar;
16
+use PH7\Framework\Mvc\Model\Engine\Db;
17
+use PH7\Framework\Registry\Registry;
18
+use PH7\Framework\Cache\Cache;
19
+use PH7\Framework\Parse\SysVar;
21 20
 
22 21
 class Design extends \PH7\Framework\Layout\Html\Design
23 22
 {
Please login to merge, or discard this patch.
_protected/framework/Mvc/Router/FrontController.class.php 1 patch
Unused Use Statements   +9 added lines, -10 removed lines patch added patch discarded remove patch
@@ -15,16 +15,15 @@
 block discarded – undo
15 15
 namespace PH7\Framework\Mvc\Router;
16 16
 defined('PH7') or exit('Restricted access');
17 17
 
18
-use
19
-PH7\Framework\Translate\Lang,
20
-PH7\Framework\Layout\LoadTemplate,
21
-PH7\Framework\Mvc\Model\Engine\Db,
22
-PH7\Framework\Registry\Registry,
23
-PH7\Framework\Config\Config,
24
-PH7\Framework\Mvc\Model\DbConfig,
25
-PH7\Framework\Mvc\Request\Http,
26
-PH7\Framework\Url\Uri,
27
-PH7\Framework\Mvc\Router\Uri as UriRoute;
18
+use PH7\Framework\Translate\Lang;
19
+use PH7\Framework\Layout\LoadTemplate;
20
+use PH7\Framework\Mvc\Model\Engine\Db;
21
+use PH7\Framework\Registry\Registry;
22
+use PH7\Framework\Config\Config;
23
+use PH7\Framework\Mvc\Model\DbConfig;
24
+use PH7\Framework\Mvc\Request\Http;
25
+use PH7\Framework\Url\Uri;
26
+use PH7\Framework\Mvc\Router\Uri as UriRoute;
28 27
 
29 28
 /**
30 29
  * @class Singleton Class
Please login to merge, or discard this patch.
_protected/framework/Translate/Adapter/Gettext/gettext.inc.php 1 patch
Unused Use Statements   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,11 +4,8 @@
 block discarded – undo
4 4
  */
5 5
 defined('PH7') or exit('Restricted access');
6 6
 
7
-use
8
-PH7\Framework\Translate\Adapter\Gettext\StreamReader,
9
-PH7\Framework\Translate\Adapter\Gettext\StringReader,
10
-PH7\Framework\Translate\Adapter\Gettext\FileReader,
11
-PH7\Framework\Translate\Adapter\Gettext\CachedFileReader;
7
+use PH7\Framework\Translate\Adapter\Gettext\StreamReader;
8
+use PH7\Framework\Translate\Adapter\Gettext\FileReader;
12 9
 
13 10
 
14 11
 /*
Please login to merge, or discard this patch.
_protected/framework/Translate/Lang.class.php 1 patch
Unused Use Statements   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@  discard block
 block discarded – undo
14 14
 {
15 15
  defined('PH7') or exit('Restricted access');
16 16
 
17
- use PH7\Framework\Config\Config, PH7\Framework\Cookie\Cookie;
17
+ use PH7\Framework\Config\Config;
18
+ use PH7\Framework\Cookie\Cookie;
18 19
 
19 20
  class Lang
20 21
  {
@@ -177,7 +178,8 @@  discard block
 block discarded – undo
177 178
 namespace
178 179
 {
179 180
 
180
- use PH7\Framework\Registry\Registry, PH7\Framework\Parse\SysVar;
181
+ use PH7\Framework\Registry\Registry;
182
+ use PH7\Framework\Parse\SysVar;
181 183
 
182 184
  /**
183 185
   * Check if GetText PHP extension exists, if not, it'll includes the GetText library.
Please login to merge, or discard this patch.