Passed
Push — master ( 4ce6d4...470e66 )
by Aimeos
04:39 queued 14s
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/Attribute/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['attribute.property.id']];
305 305
 				unset( $propItems[$entry['attribute.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/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/Locale/Site/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -558,8 +558,7 @@
 block discarded – undo
558 558
 		{
559 559
 			$this->checkSite( $super, $data['locale.site.id'] );
560 560
 			$item = $manager->getItem( $data['locale.site.id'] );
561
-		}
562
-		else
561
+		} else
563 562
 		{
564 563
 			$this->checkSite( $super );
565 564
 			$item = $manager->createItem();
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/Order/Standard.php 1 patch
Braces   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -541,8 +541,7 @@  discard block
 block discarded – undo
541 541
 						{
542 542
 							$attrItem = $attrItems[$array['order.base.service.attribute.id']];
543 543
 							unset( $attrItems[$array['order.base.service.attribute.id']] );
544
-						}
545
-						else
544
+						} else
546 545
 						{
547 546
 							$attrItem = $attrManager->createItem();
548 547
 						}
@@ -577,9 +576,13 @@  discard block
 block discarded – undo
577 576
 		{
578 577
 			$manager = \Aimeos\MShop::create( $this->getContext(), 'customer' );
579 578
 
580
-			try {
579
+			try
580
+			{
581 581
 				$data += $manager->getItem( $item->getCustomerId() )->toArray();
582
-			} catch( \Exception $e ) {};
582
+			}
583
+			catch( \Exception $e )
584
+			{
585
+};
583 586
 		}
584 587
 
585 588
 
Please login to merge, or discard this patch.
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.