Passed
Branch master (17628c)
by Aimeos
03:29
created
admin/jqadm/src/Admin/JQAdm/Customer/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -303,8 +303,7 @@
 block discarded – undo
303 303
 			{
304 304
 				$propItem = $propItems[$entry['customer.property.id']];
305 305
 				unset( $propItems[$entry['customer.property.id']] );
306
-			}
307
-			else
306
+			} else
308 307
 			{
309 308
 				$propItem = $manager->createItem();
310 309
 			}
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Product/Download/Standard.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -407,7 +407,7 @@
 block discarded – undo
407 407
 				$data['time'] = $fs->time( $data['attribute.code'] );
408 408
 				$data['size'] = $fs->size( $data['attribute.code'] );
409 409
 			}
410
-			catch( \Exception $e ) { ; } // Show product even if file isn't available any more
410
+			catch( \Exception $e ) {; } // Show product even if file isn't available any more
411 411
 		}
412 412
 
413 413
 		return $data;
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -407,7 +407,9 @@
 block discarded – undo
407 407
 				$data['time'] = $fs->time( $data['attribute.code'] );
408 408
 				$data['size'] = $fs->size( $data['attribute.code'] );
409 409
 			}
410
-			catch( \Exception $e ) { ; } // Show product even if file isn't available any more
410
+			catch( \Exception $e )
411
+			{
412
+; } // Show product even if file isn't available any more
411 413
 		}
412 414
 
413 415
 		return $data;
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Product/Subscription/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -351,8 +351,7 @@
 block discarded – undo
351 351
 			{
352 352
 				$list['product.lists.siteid'] = (string) $map[$attrId]->getSiteId();
353 353
 				$list['product.lists.id'] = (string) $map[$attrId]->getId();
354
-			}
355
-			else
354
+			} else
356 355
 			{
357 356
 				$list['product.lists.siteid'] = $siteId;
358 357
 				$list['product.lists.id'] = '';
Please login to merge, or discard this patch.
admin/jqadm/templates/common/partials/pagination-standard.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,8 +21,7 @@  discard block
 block discarded – undo
21 21
  */
22 22
 
23 23
 
24
-$pgroup = function( array $params, $group )
25
-{
24
+$pgroup = function( array $params, $group ) {
26 25
 	if( $group != null ) {
27 26
 		return [$group => ['page' => $params]];
28 27
 	}
@@ -56,16 +55,14 @@  discard block
 block discarded – undo
56 55
 		$controller = $this->config( 'admin/jqadm/url/get/controller', 'Jqadm' );
57 56
 		$action = $this->config( 'admin/jqadm/url/get/action', 'get' );
58 57
 		$config = $this->config( 'admin/jqadm/url/get/config', [] );
59
-	}
60
-	else
58
+	} else
61 59
 	{
62 60
 		$target = $this->config( 'admin/jqadm/url/create/target' );
63 61
 		$controller = $this->config( 'admin/jqadm/url/create/controller', 'Jqadm' );
64 62
 		$action = $this->config( 'admin/jqadm/url/create/action', 'create' );
65 63
 		$config = $this->config( 'admin/jqadm/url/create/config', [] );
66 64
 	}
67
-}
68
-else
65
+} else
69 66
 {
70 67
 	$target = $this->config( 'admin/jqadm/url/search/target' );
71 68
 	$controller = $this->config( 'admin/jqadm/url/search/controller', 'Jqadm' );
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Product/Price/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['price.property.id']];
293 293
 					unset( $propItems[$entry['price.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Service/Price/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['price.property.id']];
293 293
 					unset( $propItems[$entry['price.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Attribute/Price/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['price.property.id']];
293 293
 					unset( $propItems[$entry['price.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
admin/jqadm/templates/type/catalog/lists/list-standard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 				<th class="actions">
128 128
 					<a class="btn fa act-add" tabindex="1"
129 129
 						href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>"
130
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
130
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
131 131
 						aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>">
132 132
 					</a>
133 133
 
@@ -209,13 +209,13 @@  discard block
 block discarded – undo
209 209
 					<td class="actions">
210 210
 						<a class="btn act-copy fa" tabindex="1"
211 211
 							href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>"
212
-							title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>"
212
+							title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>"
213 213
 							aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>">
214 214
 						</a>
215 215
 						<?php if( !$this->site()->readonly( $item->getSiteId() ) ) : ?>
216 216
 							<a class="btn act-delete fa" tabindex="1"
217 217
 								href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>"
218
-								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
218
+								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
219 219
 								aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>">
220 220
 							</a>
221 221
 						<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/type/media/list-standard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 				<th class="actions">
128 128
 					<a class="btn fa act-add" tabindex="1"
129 129
 						href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>"
130
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
130
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
131 131
 						aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>">
132 132
 					</a>
133 133
 
@@ -209,13 +209,13 @@  discard block
 block discarded – undo
209 209
 					<td class="actions">
210 210
 						<a class="btn act-copy fa" tabindex="1"
211 211
 							href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>"
212
-							title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>"
212
+							title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>"
213 213
 							aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>">
214 214
 						</a>
215 215
 						<?php if( !$this->site()->readonly( $item->getSiteId() ) ) : ?>
216 216
 							<a class="btn act-delete fa" tabindex="1"
217 217
 								href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>"
218
-								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
218
+								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
219 219
 								aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>">
220 220
 							</a>
221 221
 						<?php endif; ?>
Please login to merge, or discard this patch.