Completed
Push — master ( 584ffd...0607c4 )
by Aimeos
02:55
created
lib/custom/tests/MW/View/Helper/Site/StandardTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -68,6 +68,10 @@
 block discarded – undo
68 68
 	private $id;
69 69
 	private $label;
70 70
 
71
+	/**
72
+	 * @param integer $id
73
+	 * @param string $label
74
+	 */
71 75
 	public function __construct( $id, $label )
72 76
 	{
73 77
 		$this->id = $id;
Please login to merge, or discard this patch.
admin/jqadm/templates/catalog/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,9 +87,12 @@
 block discarded – undo
87 87
 		<div class="item-actions">
88 88
 			<?php if( isset( $this->itemData ) ) : ?>
89 89
 				<?= $this->partial( $this->config( 'admin/jqadm/partial/itemactions', 'common/partials/itemactions-standard' ), ['params' => $params] ); ?>
90
-			<?php else : ?>
90
+			<?php else {
91
+	: ?>
91 92
 				<span class="placeholder">&nbsp;</span>
92
-			<?php endif; ?>
93
+			<?php endif;
94
+}
95
+?>
93 96
 		</div>
94 97
 	</nav>
95 98
 
Please login to merge, or discard this patch.
admin/jqadm/tests/Admin/JQAdm/Order/StandardTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -305,6 +305,9 @@
 block discarded – undo
305 305
 	}
306 306
 
307 307
 
308
+	/**
309
+	 * @param string $method
310
+	 */
308 311
 	public function getClientMock( $method )
309 312
 	{
310 313
 		$object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Order\Standard::class )
Please login to merge, or discard this patch.
admin/jqadm/tests/TestHelperJqadm.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
 	}
84 84
 
85 85
 
86
+	/**
87
+	 * @return Aimeos\Bootstrap
88
+	 */
86 89
 	public static function getAimeos()
87 90
 	{
88 91
 		if( !isset( self::$aimeos ) )
Please login to merge, or discard this patch.
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.