Passed
Push — develop ( 5965bd...ab43ed )
by Mykola
04:01
created
administration/language/en-gb/design/custommenu.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,11 +34,11 @@
 block discarded – undo
34 34
 $_['text_manufacturer']         = 'Manufacturer';
35 35
 $_['text_information']          = 'Information';
36 36
 $_['text_custom']               = 'Custom Link';
37
-$_['text_confirm']				= 'Are you sure?';
37
+$_['text_confirm'] = 'Are you sure?';
38 38
 
39 39
 $_['text_custommenu_title']     = 'Custom Menu Structure';
40
-$_['text_custommenu_description']  = 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.';
41
-$_['text_sub_item'] 	        = 'sub item';
40
+$_['text_custommenu_description'] = 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.';
41
+$_['text_sub_item'] = 'sub item';
42 42
 $_['text_custommenu_name'] 	    = 'Name';
43 43
 $_['text_custommenu_link'] 	    = 'Link';
44 44
 
Please login to merge, or discard this patch.
administration/language/en-gb/design/layout.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 $_['text_default']        = 'Default';
35 35
 $_['text_content_top']    = 'Content Top';
36 36
 $_['text_content_bottom'] = 'Content Bottom';
37
-$_['text_column']    = 'column Left';
37
+$_['text_column'] = 'column Left';
38 38
 
39 39
 // column
40 40
 $_['column_name']         = 'Layout Name';
Please login to merge, or discard this patch.
administration/language/en-gb/common/header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 $_['text_review']            = 'Reviews';
34 34
 $_['text_front']             = 'Store Front';
35 35
 $_['text_logout']            = 'Logout';
36
-$_['text_new']  		     = 'New';
36
+$_['text_new'] = 'New';
37 37
 $_['text_new_category']    	 = 'Category';
38 38
 $_['text_new_customer']      = 'Customer';
39 39
 $_['text_new_download']      = 'Download';
Please login to merge, or discard this patch.
administration/language/en-gb/sale/order.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,4 +141,4 @@
 block discarded – undo
141 141
 $_['error_warning']              = 'Warning: Please check the form carefully for errors!';
142 142
 $_['error_permission']           = 'Warning: You do not have permission to modify orders!';
143 143
 $_['error_action']               = 'Warning: Could not complete this action!';
144
-$_['error_filetype']			 = 'Invalid file type!';
144
+$_['error_filetype'] = 'Invalid file type!';
Please login to merge, or discard this patch.
application/language/en-gb/blog/category.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
 $_['text_sort_name']    = 'name';
37 37
 $_['text_sort_rated']   = 'rated';
38 38
 $_['text_sort_viewed']  = 'viewed';
39
-$_['text_views'] 	    = 'Views:';
39
+$_['text_views'] = 'Views:';
40 40
 $_['text_date_asc']     = 'Date (Lowest)';
41 41
 $_['text_date_desc']    = 'Date (Highest)';
42
-$_['text_viewed_asc'] 	= 'Viewed (Lowest)';
42
+$_['text_viewed_asc'] = 'Viewed (Lowest)';
43 43
 $_['text_viewed_desc'] 	= 'Viewed (Highest)';
44
-$_['text_name_asc'] 	= 'Name (A - Z)';
44
+$_['text_name_asc'] = 'Name (A - Z)';
45 45
 $_['text_name_desc'] 	= 'Name (Z - A)';
46 46
 $_['text_default']   	= 'Default';
47 47
 
48
-$_['button_more']       = 'more';
48
+$_['button_more'] = 'more';
Please login to merge, or discard this patch.
application/controller/blog/latest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
                 'description' => \voku\helper\UTF8::substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('configblog_article_description_length')) . '..',
164 164
                 'date_added'  => date($this->language->get('date_format_short'), strtotime($result['date_added'])),
165 165
                 'viewed'      => $result['viewed'],
166
-                'reviews'     => sprintf($this->language->get('text_reviews'), (int) $result['reviews']),
166
+                'reviews'     => sprintf($this->language->get('text_reviews'), (int)$result['reviews']),
167 167
                 'href'        => $this->url->link('blog/article', '&article_id=' . $result['article_id'])
168 168
             );
169 169
         }
Please login to merge, or discard this patch.
engine/library/Db.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
             $this->log['query_total_time'] = 0;
74 74
         }
75 75
 
76
-        $this->log['query_total_time'] = (float) $this->log['query_total_time'] + (float) $exec_time;
76
+        $this->log['query_total_time'] = (float)$this->log['query_total_time'] + (float)$exec_time;
77 77
         $this->log['file']  = $pureFile;
78 78
         $this->log['time']  = $exec_time;
79 79
         $this->log['query'] = \SqlFormatter::format($sql);
Please login to merge, or discard this patch.
application/controller/information/information.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         );
39 39
 
40 40
         if (isset($this->request->get['information_id'])) {
41
-            $information_id = (int) $this->request->get['information_id'];
41
+            $information_id = (int)$this->request->get['information_id'];
42 42
         } else {
43 43
             $information_id = 0;
44 44
         }
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
             $data['breadcrumbs'][] = array(
69 69
                 'text' => $information_info[0]['title'],
70
-                'href' => $this->url->link('information/information', 'information_id=' .  $information_id)
70
+                'href' => $this->url->link('information/information', 'information_id=' . $information_id)
71 71
             );
72 72
 
73 73
             $data['button_continue'] = $this->language->get('button_continue');
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         $this->load->model('catalog/information');
118 118
 
119 119
         if (isset($this->request->get['information_id'])) {
120
-            $information_id = (int) $this->request->get['information_id'];
120
+            $information_id = (int)$this->request->get['information_id'];
121 121
         } else {
122 122
             $information_id = 0;
123 123
         }
Please login to merge, or discard this patch.
application/model/catalog/information.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
             SELECT DISTINCT * 
30 30
             FROM information i 
31 31
             LEFT JOIN information_description id ON (i.information_id = id.information_id) 
32
-            WHERE i.information_id = '" . (int) $information_id . "' 
33
-                AND id.language_id = '" . (int) $this->config->get('config_language_id') . "' 
32
+            WHERE i.information_id = '" . (int)$information_id . "' 
33
+                AND id.language_id = '" . (int)$this->config->get('config_language_id') . "' 
34 34
                 AND i.status = '1'
35 35
         ");
36 36
 
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
             ->select('DISTINCT *')
42 42
             ->from('information', 'i')
43 43
             ->leftJoin('i', 'information_description', 'id', 'i.information_id = id.information_id')
44
-            ->where('i.information_id = ' . (int) $information_id)
45
-            ->andWhere('id.language_id = ' . (int) $this->config->get('config_language_id'))
44
+            ->where('i.information_id = ' . (int)$information_id)
45
+            ->andWhere('id.language_id = ' . (int)$this->config->get('config_language_id'))
46 46
             ->andWhere('i.status = 1')
47 47
             ->execute()
48 48
             ->fetchAll();
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             SELECT * 
60 60
             FROM information i 
61 61
             LEFT JOIN information_description id ON (i.information_id = id.information_id) 
62
-            WHERE id.language_id = '" . (int) $this->config->get('config_language_id') . "' 
62
+            WHERE id.language_id = '" . (int)$this->config->get('config_language_id') . "' 
63 63
                 AND i.status = '1' 
64 64
             ORDER BY i.sort_order, 
65 65
             LCASE(id.title) ASC
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $query = $this->db->query("
74 74
             SELECT * 
75 75
             FROM information_to_layout 
76
-            WHERE information_id = '" . (int) $information_id . "'
76
+            WHERE information_id = '" . (int)$information_id . "'
77 77
         ");
78 78
 
79 79
         if ($query->num_rows) {
Please login to merge, or discard this patch.