Completed
Pull Request — master (#411)
by Harald
03:59
created
catalog/includes/modules/content/index/cm_i_new_products.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
   Released under the GNU General Public License
11 11
 */
12 12
 
13
-  use OSC\OM\OSCOM;
14 13
   use OSC\OM\Registry;
15 14
 
16 15
   class cm_i_new_products {
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/FileSystem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
         return $result;
72 72
     }
73 73
 
74
+    /**
75
+     * @param string $pathname
76
+     */
74 77
     public static function displayPath($pathname)
75 78
     {
76 79
         return str_replace(['/', '\\'], DIRECTORY_SEPARATOR, $pathname);
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/Language.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         }
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $filename
56
+     */
54 57
     public function loadDefinitionsFromFile($filename, $scope = 'global')
55 58
     {
56 59
         $defs = [];
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/OSCOM.php 2 patches
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@  discard block
 block discarded – undo
32 32
         ErrorHandler::initialize();
33 33
     }
34 34
 
35
+    /**
36
+     * @return string
37
+     */
35 38
     public static function getVersion()
36 39
     {
37 40
         if (!isset(static::$version)) {
@@ -117,6 +120,9 @@  discard block
 block discarded – undo
117 120
         return $OSCOM_Site->hasPage() && $OSCOM_Site->getPage()->isRPC();
118 121
     }
119 122
 
123
+    /**
124
+     * @param string $parameters
125
+     */
120 126
     public static function link($page, $parameters = null, $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true)
121 127
     {
122 128
         global $request_type;
@@ -324,6 +330,10 @@  discard block
 block discarded – undo
324 330
         }
325 331
     }
326 332
 
333
+    /**
334
+     * @param string $file
335
+     * @param string $group
336
+     */
327 337
     public static function loadConfigFile($file, $group)
328 338
     {
329 339
         $cfg = [];
@@ -354,6 +364,9 @@  discard block
 block discarded – undo
354 364
         return static::$cfg['global'][$key];
355 365
     }
356 366
 
367
+    /**
368
+     * @param string $key
369
+     */
357 370
     public static function configExists($key, $group = null)
358 371
     {
359 372
         if (!isset($group)) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 use OSC\OM\DateTime;
12 12
 use OSC\OM\ErrorHandler;
13
-use OSC\OM\FileSystem;
14 13
 use OSC\OM\HTML;
15 14
 use OSC\OM\HTTP;
16 15
 use OSC\OM\Registry;
Please login to merge, or discard this patch.
catalog/product_info.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
   use OSC\OM\HTML;
14 14
   use OSC\OM\OSCOM;
15
-  use OSC\OM\Registry;
16 15
 
17 16
   require('includes/application_top.php');
18 17
 
Please login to merge, or discard this patch.
catalog/admin/includes/modules/dashboard/d_admin_logins.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
   Released under the GNU General Public License
11 11
 */
12 12
 
13
-  use OSC\OM\HTML;
14 13
   use OSC\OM\OSCOM;
15 14
   use OSC\OM\Registry;
16 15
 
Please login to merge, or discard this patch.
catalog/admin/includes/modules/dashboard/d_orders.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
   Released under the GNU General Public License
11 11
 */
12 12
 
13
-  use OSC\OM\HTML;
14 13
   use OSC\OM\OSCOM;
15 14
   use OSC\OM\Registry;
16 15
 
Please login to merge, or discard this patch.
includes/modules/security_check/extended/admin_backup_directory_listing.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
       return MODULE_SECURITY_CHECK_EXTENDED_EXT_DIRECTORY_LISTING_HTTP_200;
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $url
37
+     */
35 38
     function getHttpRequest($url) {
36 39
       $server = parse_url($url);
37 40
 
Please login to merge, or discard this patch.
admin/includes/modules/security_check/extended/admin_backup_file.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
       return MODULE_SECURITY_CHECK_EXTENDED_EXT_DIRECTORY_LISTING_HTTP_200;
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $url
37
+     */
35 38
     function getHttpRequest($url) {
36 39
       $server = parse_url($url);
37 40
 
Please login to merge, or discard this patch.