Passed
Push — develop ( 8daac1...a2b8ae )
by Mykola
04:44
created
application/model/account/customer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
             $message .= $this->language->get('text_firstname') . ' ' . $data['firstname'] . "\n";
118 118
             $message .= $this->language->get('text_lastname') . ' ' . $data['lastname'] . "\n";
119 119
             $message .= $this->language->get('text_customer_group') . ' ' . $customer_group_info['name'] . "\n";
120
-            $message .= $this->language->get('text_email') . ' '  .  $data['email'] . "\n";
120
+            $message .= $this->language->get('text_email') . ' ' . $data['email'] . "\n";
121 121
             $message .= $this->language->get('text_telephone') . ' ' . $data['telephone'] . "\n";
122 122
 
123 123
             $mail = new \Divine\Engine\Library\Mail();
Please login to merge, or discard this patch.
engine/core/Loader.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     public function model($route)
34 34
     {
35 35
         // Sanitize the call
36
-        $route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string) $route);
36
+        $route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string)$route);
37 37
 
38 38
         if (!$this->registry->has('model_' . str_replace(array('/', '-', '.'), array('_', '', ''), $route))) {
39 39
             $file  = SR_APPLICATION . 'model/' . $route . '.php';
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
                 }
50 50
 
51 51
                 $this->registry->set(
52
-                    'model_' . str_replace(array('/', '-', '.'), array('_', '', ''), (string) $route),
52
+                    'model_' . str_replace(array('/', '-', '.'), array('_', '', ''), (string)$route),
53 53
                     $proxy
54 54
                 );
55 55
             } else {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     public function controller($route, $data = array())
62 62
     {
63 63
         // Sanitize the call
64
-        $route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string) $route);
64
+        $route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string)$route);
65 65
 
66 66
         $output = null;
67 67
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $output = null;
79 79
 
80 80
         // Sanitize the call
81
-        $route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string) $route);
81
+        $route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string)$route);
82 82
 
83 83
         if (!$output) {
84 84
             $template = new \Divine\Engine\Library\Template();
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     public function library($route)
112 112
     {
113 113
         // Sanitize the call
114
-        $route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string) $route);
114
+        $route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string)$route);
115 115
 
116 116
         $file = $_SERVER['DOCUMENT_ROOT'] . '/engine/library/' . $route . '.php';
117 117
         $class = str_replace('/', '\\', $route);
@@ -144,14 +144,14 @@  discard block
 block discarded – undo
144 144
 
145 145
     protected function callback($registry, $route)
146 146
     {
147
-        return function ($args) use ($registry, &$route) {
147
+        return function($args) use ($registry, &$route) {
148 148
             static $model = array();
149 149
 
150 150
             $output = null;
151 151
 
152 152
             // Store the model object
153 153
             if (!isset($model[$route])) {
154
-                $file = SR_APPLICATION . 'model/' .  substr($route, 0, strrpos($route, '/')) . '.php';
154
+                $file = SR_APPLICATION . 'model/' . substr($route, 0, strrpos($route, '/')) . '.php';
155 155
                 $class = 'Model' . preg_replace('/[^a-zA-Z0-9]/', '', substr($route, 0, strrpos($route, '/')));
156 156
 
157 157
                 if (is_file($file)) {
Please login to merge, or discard this patch.
administration/controller/catalog/manufacturer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
         }
241 241
 
242 242
         if (isset($this->request->post['selected'])) {
243
-            $data['selected'] = (array) $this->request->post['selected'];
243
+            $data['selected'] = (array)$this->request->post['selected'];
244 244
         } else {
245 245
             $data['selected'] = array();
246 246
         }
Please login to merge, or discard this patch.