Passed
Push — master ( 6b0eee...f86db2 )
by Aimeos
08:30 queued 05:17
created
admin/jqadm/src/Admin/JQAdm/Service/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -442,9 +442,12 @@
 block discarded – undo
442 442
 	{
443 443
 		$manager = \Aimeos\MShop::create( $this->getContext(), 'service' );
444 444
 
445
-		try {
445
+		try
446
+		{
446 447
 			return $manager->getProvider( $item, $item->getType() )->getConfigBE();
447
-		} catch( \Aimeos\MShop\Exception $e ) {
448
+		}
449
+		catch( \Aimeos\MShop\Exception $e )
450
+		{
448 451
 			return [];
449 452
 		}
450 453
 	}
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Coupon/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -434,9 +434,12 @@
 block discarded – undo
434 434
 	{
435 435
 		$manager = \Aimeos\MShop::create( $this->getContext(), 'coupon' );
436 436
 
437
-		try {
437
+		try
438
+		{
438 439
 			return $manager->getProvider( $item, '' )->getConfigBE();
439
-		} catch( \Aimeos\MShop\Exception $e ) {
440
+		}
441
+		catch( \Aimeos\MShop\Exception $e )
442
+		{
440 443
 			return [];
441 444
 		}
442 445
 	}
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Plugin/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -441,9 +441,12 @@
 block discarded – undo
441 441
 	{
442 442
 		$manager = \Aimeos\MShop::create( $this->getContext(), 'plugin' );
443 443
 
444
-		try {
444
+		try
445
+		{
445 446
 			return $manager->getProvider( $item, $item->getType() )->getConfigBE();
446
-		} catch( \Aimeos\MShop\Exception $e ) {
447
+		}
448
+		catch( \Aimeos\MShop\Exception $e )
449
+		{
447 450
 			return [];
448 451
 		}
449 452
 	}
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Catalog/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -421,9 +421,12 @@
 block discarded – undo
421 421
 	{
422 422
 		$manager = \Aimeos\MShop::create( $this->getContext(), 'catalog' );
423 423
 
424
-		try {
424
+		try
425
+		{
425 426
 			return $manager->getTree( null, [], \Aimeos\MW\Tree\Manager\Base::LEVEL_ONE )->getId();
426
-		} catch( \Exception $e ) {
427
+		}
428
+		catch( \Exception $e )
429
+		{
427 430
 			return null;
428 431
 		}
429 432
 	}
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/templates/common/partials/listhead-standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,16 +56,14 @@
 block discarded – undo
56 56
 		$controller = $this->config( 'admin/jqadm/url/get/controller', 'Jqadm' );
57 57
 		$action = $this->config( 'admin/jqadm/url/get/action', 'get' );
58 58
 		$config = $this->config( 'admin/jqadm/url/get/config', [] );
59
-	}
60
-	else
59
+	} else
61 60
 	{
62 61
 		$target = $this->config( 'admin/jqadm/url/create/target' );
63 62
 		$controller = $this->config( 'admin/jqadm/url/create/controller', 'Jqadm' );
64 63
 		$action = $this->config( 'admin/jqadm/url/create/action', 'create' );
65 64
 		$config = $this->config( 'admin/jqadm/url/create/config', [] );
66 65
 	}
67
-}
68
-else
66
+} else
69 67
 {
70 68
 	$target = $this->config( 'admin/jqadm/url/search/target' );
71 69
 	$controller = $this->config( 'admin/jqadm/url/search/controller', 'Jqadm' );
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Product/Physical/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -294,8 +294,7 @@
 block discarded – undo
294 294
 				$propItem->setValue( $value );
295 295
 
296 296
 				$item->addPropertyItem( $propItem );
297
-			}
298
-			else
297
+			} else
299 298
 			{
300 299
 				$item->deletePropertyItems( $propItems->toArray() );
301 300
 			}
Please login to merge, or discard this patch.