Completed
Push — master ( 299203...fda8e3 )
by Harald
14:57 queued 07:00
created
includes/modules/security_check/extended/admin_http_authentication.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/admin/includes/modules/security_check/file_uploads.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/admin/includes/modules/security_check/session_auto_start.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/Language.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@  discard block
 block discarded – undo
121 121
         }
122 122
     }
123 123
 
124
+    /**
125
+     * @param string $data
126
+     */
124 127
     public function get($data = null, $language_code = null)
125 128
     {
126 129
         if (!isset($data)) {
@@ -246,6 +249,9 @@  discard block
 block discarded – undo
246 249
         $this->injectDefinitions($defs, $scope);
247 250
     }
248 251
 
252
+    /**
253
+     * @param string $pathname
254
+     */
249 255
     public function getDefinitions($group, $language_code, $pathname)
250 256
     {
251 257
         $defs = [];
@@ -331,6 +337,9 @@  discard block
 block discarded – undo
331 337
         }
332 338
     }
333 339
 
340
+    /**
341
+     * @param boolean $flag
342
+     */
334 343
     public function setUseCache($flag)
335 344
     {
336 345
         $this->use_cache = ($flag === true);
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/PagesAbstract.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace OSC\Sites\Shop\Pages\Account\Actions;
10 10
 
11 11
 use OSC\OM\OSCOM;
12
-use OSC\OM\Registry;
13 12
 
14 13
 class LogIn extends \OSC\OM\PagesActionsAbstract
15 14
 {
Please login to merge, or discard this patch.
catalog/admin/includes/modules/dashboard/d_partner_news.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,7 @@
 block discarded – undo
11 11
 */
12 12
 
13 13
   use OSC\OM\Cache;
14
-  use OSC\OM\FileSystem;
15 14
   use OSC\OM\HTTP;
16
-  use OSC\OM\OSCOM;
17 15
   use OSC\OM\Registry;
18 16
 
19 17
   class d_partner_news {
Please login to merge, or discard this patch.
catalog/admin/online_update.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/includes/OSC/OM/Cache.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@  discard block
 block discarded – undo
50 50
         return false;
51 51
     }
52 52
 
53
+    /**
54
+     * @param integer $expire
55
+     */
53 56
     public function exists($expire = null)
54 57
     {
55 58
         $filename = static::$path . $this->key . '.cache';
@@ -139,6 +142,9 @@  discard block
 block discarded – undo
139 142
         return static::$path;
140 143
     }
141 144
 
145
+    /**
146
+     * @param string $key
147
+     */
142 148
     public static function clear($key)
143 149
     {
144 150
         if (!static::hasSafeName($key)) {
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/HTTP.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
 
38 38
     /**
39 39
      * @param array $parameters url, headers, parameters, method, verify_ssl, cafile, certificate, proxy
40
+     * @return string
40 41
      */
41 42
 
42 43
     public static function getResponse(array $parameters)
Please login to merge, or discard this patch.