Completed
Push — master ( 0229de...f71bfb )
by Aimeos
04:41
created
admin/jqadm/src/Admin/JQAdm/Locale/Standard.php 1 patch
Braces   +13 added lines, -26 removed lines patch added patch discarded remove patch
@@ -90,14 +90,12 @@  discard block
 block discarded – undo
90 90
 				$view->tabindex = ++$idx + 1;
91 91
 				$view->itemBody .= $client->copy();
92 92
 			}
93
-		}
94
-		catch( \Aimeos\MShop\Exception $e )
93
+		} catch( \Aimeos\MShop\Exception $e )
95 94
 		{
96 95
 			$error = array( 'locale-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
97 96
 			$view->errors = $view->get( 'errors', [] ) + $error;
98 97
 			$this->logException( $e );
99
-		}
100
-		catch( \Exception $e )
98
+		} catch( \Exception $e )
101 99
 		{
102 100
 			$error = array( 'locale-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
103 101
 			$view->errors = $view->get( 'errors', [] ) + $error;
@@ -141,14 +139,12 @@  discard block
 block discarded – undo
141 139
 				$view->tabindex = ++$idx + 1;
142 140
 				$view->itemBody .= $client->create();
143 141
 			}
144
-		}
145
-		catch( \Aimeos\MShop\Exception $e )
142
+		} catch( \Aimeos\MShop\Exception $e )
146 143
 		{
147 144
 			$error = array( 'locale-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
148 145
 			$view->errors = $view->get( 'errors', [] ) + $error;
149 146
 			$this->logException( $e );
150
-		}
151
-		catch( \Exception $e )
147
+		} catch( \Exception $e )
152 148
 		{
153 149
 			$error = array( 'locale-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
154 150
 			$view->errors = $view->get( 'errors', [] ) + $error;
@@ -189,14 +185,12 @@  discard block
 block discarded – undo
189 185
 
190 186
 			$this->nextAction( $view, 'search', 'locale', null, 'delete' );
191 187
 			return;
192
-		}
193
-		catch( \Aimeos\MShop\Exception $e )
188
+		} catch( \Aimeos\MShop\Exception $e )
194 189
 		{
195 190
 			$error = array( 'locale-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
196 191
 			$view->errors = $view->get( 'errors', [] ) + $error;
197 192
 			$this->logException( $e );
198
-		}
199
-		catch( \Exception $e )
193
+		} catch( \Exception $e )
200 194
 		{
201 195
 			$error = array( 'locale-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
202 196
 			$view->errors = $view->get( 'errors', [] ) + $error;
@@ -239,14 +233,12 @@  discard block
 block discarded – undo
239 233
 				$view->tabindex = ++$idx + 1;
240 234
 				$view->itemBody .= $client->get();
241 235
 			}
242
-		}
243
-		catch( \Aimeos\MShop\Exception $e )
236
+		} catch( \Aimeos\MShop\Exception $e )
244 237
 		{
245 238
 			$error = array( 'locale-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
246 239
 			$view->errors = $view->get( 'errors', [] ) + $error;
247 240
 			$this->logException( $e );
248
-		}
249
-		catch( \Exception $e )
241
+		} catch( \Exception $e )
250 242
 		{
251 243
 			$error = array( 'locale-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
252 244
 			$view->errors = $view->get( 'errors', [] ) + $error;
@@ -283,18 +275,15 @@  discard block
 block discarded – undo
283 275
 
284 276
 			$this->nextAction( $view, $view->param( 'next' ), 'locale', $view->item->getId(), 'save' );
285 277
 			return;
286
-		}
287
-		catch( \Aimeos\Admin\JQAdm\Exception $e )
278
+		} catch( \Aimeos\Admin\JQAdm\Exception $e )
288 279
 		{
289 280
 			// fall through to create
290
-		}
291
-		catch( \Aimeos\MShop\Exception $e )
281
+		} catch( \Aimeos\MShop\Exception $e )
292 282
 		{
293 283
 			$error = array( 'locale-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
294 284
 			$view->errors = $view->get( 'errors', [] ) + $error;
295 285
 			$this->logException( $e );
296
-		}
297
-		catch( \Exception $e )
286
+		} catch( \Exception $e )
298 287
 		{
299 288
 			$error = array( 'locale-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
300 289
 			$view->errors = $view->get( 'errors', [] ) + $error;
@@ -333,14 +322,12 @@  discard block
 block discarded – undo
333 322
 			foreach( $this->getSubClients() as $client ) {
334 323
 				$view->itemBody .= $client->search();
335 324
 			}
336
-		}
337
-		catch( \Aimeos\MShop\Exception $e )
325
+		} catch( \Aimeos\MShop\Exception $e )
338 326
 		{
339 327
 			$error = array( 'locale-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
340 328
 			$view->errors = $view->get( 'errors', [] ) + $error;
341 329
 			$this->logException( $e );
342
-		}
343
-		catch( \Exception $e )
330
+		} catch( \Exception $e )
344 331
 		{
345 332
 			$error = array( 'locale-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
346 333
 			$view->errors = $view->get( 'errors', [] ) + $error;
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Customer/Order/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -106,14 +106,12 @@
 block discarded – undo
106 106
 			foreach( $this->getSubClients() as $client ) {
107 107
 				$view->orderBody .= $client->search();
108 108
 			}
109
-		}
110
-		catch( \Aimeos\MShop\Exception $e )
109
+		} catch( \Aimeos\MShop\Exception $e )
111 110
 		{
112 111
 			$error = array( 'customer-order' => $this->getContext()->getI18n()->dt( 'mshop', $e->getMessage() ) );
113 112
 			$view->errors = $view->get( 'errors', [] ) + $error;
114 113
 			$this->logException( $e );
115
-		}
116
-		catch( \Exception $e )
114
+		} catch( \Exception $e )
117 115
 		{
118 116
 			$error = array( 'customer-order' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
119 117
 			$view->errors = $view->get( 'errors', [] ) + $error;
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Coupon/Code/Standard.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -104,14 +104,12 @@  discard block
 block discarded – undo
104 104
 			foreach( $this->getSubClients() as $client ) {
105 105
 				$view->codeBody .= $client->search();
106 106
 			}
107
-		}
108
-		catch( \Aimeos\MShop\Exception $e )
107
+		} catch( \Aimeos\MShop\Exception $e )
109 108
 		{
110 109
 			$error = array( 'coupon-item-code' => $this->getContext()->getI18n()->dt( 'mshop', $e->getMessage() ) );
111 110
 			$view->errors = $view->get( 'errors', [] ) + $error;
112 111
 			$this->logException( $e );
113
-		}
114
-		catch( \Exception $e )
112
+		} catch( \Exception $e )
115 113
 		{
116 114
 			$error = array( 'coupon-item-code' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
117 115
 			$view->errors = $view->get( 'errors', [] ) + $error;
@@ -146,14 +144,12 @@  discard block
 block discarded – undo
146 144
 
147 145
 			$manager->commit();
148 146
 			return;
149
-		}
150
-		catch( \Aimeos\MShop\Exception $e )
147
+		} catch( \Aimeos\MShop\Exception $e )
151 148
 		{
152 149
 			$error = array( 'coupon-item-code' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
153 150
 			$view->errors = $view->get( 'errors', [] ) + $error;
154 151
 			$this->logException( $e );
155
-		}
156
-		catch( \Exception $e )
152
+		} catch( \Exception $e )
157 153
 		{
158 154
 			$error = array( 'coupon-item-code' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
159 155
 			$view->errors = $view->get( 'errors', [] ) + $error;
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Product/Category/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -187,14 +187,12 @@
 block discarded – undo
187 187
 
188 188
 			$manager->commit();
189 189
 			return;
190
-		}
191
-		catch( \Aimeos\MShop\Exception $e )
190
+		} catch( \Aimeos\MShop\Exception $e )
192 191
 		{
193 192
 			$error = array( 'product-item-category' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
194 193
 			$view->errors = $view->get( 'errors', [] ) + $error;
195 194
 			$this->logException( $e );
196
-		}
197
-		catch( \Exception $e )
195
+		} catch( \Exception $e )
198 196
 		{
199 197
 			$error = array( 'product-item-category' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
200 198
 			$view->errors = $view->get( 'errors', [] ) + $error;
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Order/Invoice/Standard.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -104,14 +104,12 @@  discard block
 block discarded – undo
104 104
 			foreach( $this->getSubClients() as $client ) {
105 105
 				$view->invoiceBody .= $client->search();
106 106
 			}
107
-		}
108
-		catch( \Aimeos\MShop\Exception $e )
107
+		} catch( \Aimeos\MShop\Exception $e )
109 108
 		{
110 109
 			$error = array( 'order-item-invoice' => $this->getContext()->getI18n()->dt( 'mshop', $e->getMessage() ) );
111 110
 			$view->errors = $view->get( 'errors', [] ) + $error;
112 111
 			$this->logException( $e );
113
-		}
114
-		catch( \Exception $e )
112
+		} catch( \Exception $e )
115 113
 		{
116 114
 			$error = array( 'order-item-invoice' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
117 115
 			$view->errors = $view->get( 'errors', [] ) + $error;
@@ -145,14 +143,12 @@  discard block
 block discarded – undo
145 143
 
146 144
 			$manager->commit();
147 145
 			return;
148
-		}
149
-		catch( \Aimeos\MShop\Exception $e )
146
+		} catch( \Aimeos\MShop\Exception $e )
150 147
 		{
151 148
 			$error = array( 'order-item-invoice' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
152 149
 			$view->errors = $view->get( 'errors', [] ) + $error;
153 150
 			$this->logException( $e );
154
-		}
155
-		catch( \Exception $e )
151
+		} catch( \Exception $e )
156 152
 		{
157 153
 			$error = array( 'order-item-invoice' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
158 154
 			$view->errors = $view->get( 'errors', [] ) + $error;
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Job/Standard.php 1 patch
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -84,14 +84,12 @@  discard block
 block discarded – undo
84 84
 			}
85 85
 
86 86
 			$manager->deleteItem( $id );
87
-		}
88
-		catch( \Aimeos\MAdmin\Exception $e )
87
+		} catch( \Aimeos\MAdmin\Exception $e )
89 88
 		{
90 89
 			$error = array( 'job-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
91 90
 			$view->errors = $view->get( 'errors', [] ) + $error;
92 91
 			$this->logException( $e );
93
-		}
94
-		catch( \Exception $e )
92
+		} catch( \Exception $e )
95 93
 		{
96 94
 			$error = array( 'job-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
97 95
 			$view->errors = $view->get( 'errors', [] ) + $error;
@@ -129,14 +127,12 @@  discard block
 block discarded – undo
129 127
 				$view->response()->withHeader( 'Content-Type', 'text/csv' );
130 128
 				$view->response()->withBody( $stream );
131 129
 			}
132
-		}
133
-		catch( \Aimeos\MAdmin\Exception $e )
130
+		} catch( \Aimeos\MAdmin\Exception $e )
134 131
 		{
135 132
 			$error = array( 'job-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
136 133
 			$view->errors = $view->get( 'errors', [] ) + $error;
137 134
 			$this->logException( $e );
138
-		}
139
-		catch( \Exception $e )
135
+		} catch( \Exception $e )
140 136
 		{
141 137
 			$error = array( 'job-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
142 138
 			$view->errors = $view->get( 'errors', [] ) + $error;
@@ -171,14 +167,12 @@  discard block
 block discarded – undo
171 167
 			foreach( $this->getSubClients() as $client ) {
172 168
 				$view->jobBody .= $client->search();
173 169
 			}
174
-		}
175
-		catch( \Aimeos\MShop\Exception $e )
170
+		} catch( \Aimeos\MShop\Exception $e )
176 171
 		{
177 172
 			$error = array( 'product-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
178 173
 			$view->errors = $view->get( 'errors', [] ) + $error;
179 174
 			$this->logException( $e );
180
-		}
181
-		catch( \Exception $e )
175
+		} catch( \Exception $e )
182 176
 		{
183 177
 			$error = array( 'product-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
184 178
 			$view->errors = $view->get( 'errors', [] ) + $error;
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Servicepayment/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,14 +77,12 @@
 block discarded – undo
77 77
 			foreach( $this->getSubClients() as $client ) {
78 78
 				$view->orderservicepaymentBody .= $client->search();
79 79
 			}
80
-		}
81
-		catch( \Aimeos\MShop\Exception $e )
80
+		} catch( \Aimeos\MShop\Exception $e )
82 81
 		{
83 82
 			$error = array( 'order-servicepayment' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
84 83
 			$view->errors = $view->get( 'errors', [] ) + $error;
85 84
 			$this->logException( $e );
86
-		}
87
-		catch( \Exception $e )
85
+		} catch( \Exception $e )
88 86
 		{
89 87
 			$error = array( 'order-servicepayment' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
90 88
 			$view->errors = $view->get( 'errors', [] ) + $error;
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Countpaystatus/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,14 +77,12 @@
 block discarded – undo
77 77
 			foreach( $this->getSubClients() as $client ) {
78 78
 				$view->ordercountpaystatusBody .= $client->search();
79 79
 			}
80
-		}
81
-		catch( \Aimeos\MShop\Exception $e )
80
+		} catch( \Aimeos\MShop\Exception $e )
82 81
 		{
83 82
 			$error = array( 'order-countpaystatus' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
84 83
 			$view->errors = $view->get( 'errors', [] ) + $error;
85 84
 			$this->logException( $e );
86
-		}
87
-		catch( \Exception $e )
85
+		} catch( \Exception $e )
88 86
 		{
89 87
 			$error = array( 'order-countpaystatus' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
90 88
 			$view->errors = $view->get( 'errors', [] ) + $error;
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Latest/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,14 +77,12 @@
 block discarded – undo
77 77
 			foreach( $this->getSubClients() as $client ) {
78 78
 				$view->orderlatestBody .= $client->search();
79 79
 			}
80
-		}
81
-		catch( \Aimeos\MShop\Exception $e )
80
+		} catch( \Aimeos\MShop\Exception $e )
82 81
 		{
83 82
 			$error = array( 'order-latest' => $this->getContext()->getI18n()->dt( 'mshop', $e->getMessage() ) );
84 83
 			$view->errors = $view->get( 'errors', [] ) + $error;
85 84
 			$this->logException( $e );
86
-		}
87
-		catch( \Exception $e )
85
+		} catch( \Exception $e )
88 86
 		{
89 87
 			$error = array( 'order-latest' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
90 88
 			$view->errors = $view->get( 'errors', [] ) + $error;
Please login to merge, or discard this patch.