Passed
Push — master ( 413a90...a54373 )
by Aimeos
04:58
created
src/Admin/JQAdm/Service/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -375,9 +375,12 @@
 block discarded – undo
375 375
 	{
376 376
 		$manager = \Aimeos\MShop::create( $this->context(), 'service' );
377 377
 
378
-		try {
378
+		try
379
+		{
379 380
 			return $manager->getProvider( $item, $item->getType() )->getConfigBE();
380
-		} catch( \Aimeos\MShop\Exception $e ) {
381
+		}
382
+		catch( \Aimeos\MShop\Exception $e )
383
+		{
381 384
 			return [];
382 385
 		}
383 386
 	}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Plugin/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -374,9 +374,12 @@
 block discarded – undo
374 374
 	{
375 375
 		$manager = \Aimeos\MShop::create( $this->context(), 'plugin' );
376 376
 
377
-		try {
377
+		try
378
+		{
378 379
 			return $manager->getProvider( $item, $item->getType() )->getConfigBE();
379
-		} catch( \Aimeos\MShop\Exception $e ) {
380
+		}
381
+		catch( \Aimeos\MShop\Exception $e )
382
+		{
380 383
 			return [];
381 384
 		}
382 385
 	}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Rule/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -374,9 +374,12 @@
 block discarded – undo
374 374
 	{
375 375
 		$manager = \Aimeos\MShop::create( $this->context(), 'rule' );
376 376
 
377
-		try {
377
+		try
378
+		{
378 379
 			return $manager->getProvider( $item, $item->getType() )->getConfigBE();
379
-		} catch( \Aimeos\MShop\Exception $e ) {
380
+		}
381
+		catch( \Aimeos\MShop\Exception $e )
382
+		{
380 383
 			return [];
381 384
 		}
382 385
 	}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Dashboard/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,9 +44,12 @@
 block discarded – undo
44 44
 	{
45 45
 		$view = $this->view();
46 46
 
47
-		try {
47
+		try
48
+		{
48 49
 			$view->listBody = parent::search();
49
-		} catch( \Exception $e ) {
50
+		}
51
+		catch( \Exception $e )
52
+		{
50 53
 			$this->report( $e, 'search' );
51 54
 		}
52 55
 
Please login to merge, or discard this patch.
src/Admin/JQAdm/Coupon/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -365,9 +365,12 @@
 block discarded – undo
365 365
 	{
366 366
 		$manager = \Aimeos\MShop::create( $this->context(), 'coupon' );
367 367
 
368
-		try {
368
+		try
369
+		{
369 370
 			return $manager->getProvider( $item, '' )->getConfigBE();
370
-		} catch( \Aimeos\MShop\Exception $e ) {
371
+		}
372
+		catch( \Aimeos\MShop\Exception $e )
373
+		{
371 374
 			return [];
372 375
 		}
373 376
 	}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Base.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -683,8 +683,7 @@
 block discarded – undo
683 683
 		{
684 684
 			$view->errors = array_merge( $view->get( 'errors', [] ), [$e->getMessage()] );
685 685
 			return $this->log( $e );
686
-		}
687
-		elseif( $e instanceof \Aimeos\MShop\Exception )
686
+		} elseif( $e instanceof \Aimeos\MShop\Exception )
688 687
 		{
689 688
 			$view->errors = array_merge( $view->get( 'errors', [] ), [$i18n->dt( 'mshop', $e->getMessage() )] );
690 689
 			return $this->log( $e );
Please login to merge, or discard this patch.
src/Admin/JQAdm/Common/Decorator/Page.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,7 @@
 block discarded – undo
48 48
 			] ) )->slice( 0, 1 );
49 49
 
50 50
 			$siteItem = $siteManager->search( $search )->first();
51
-		}
52
-		else
51
+		} else
53 52
 		{
54 53
 			$siteItem = $siteManager->find( $view->param( 'site', 'default' ) );
55 54
 		}
Please login to merge, or discard this patch.
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.
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.