Passed
Push — master ( 0e4bb3...d970c3 )
by Aimeos
03:19
created
client/html/templates/catalog/home/body-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
 		<div class="home-item <?= $enc->attr( $this->homeTree->getCode() ) ?>">
25 25
 
26
-			<?php if( !( $mediaItems = $this->homeTree->getRefItems( 'media', 'stage', 'default') )->isEmpty() ) : ?>
26
+			<?php if( !( $mediaItems = $this->homeTree->getRefItems( 'media', 'stage', 'default' ) )->isEmpty() ) : ?>
27 27
 				<div class="home-stage">
28 28
 					<?php foreach( $mediaItems as $mediaItem ) : ?>
29 29
 						<a class="stage-item" href="<?= $enc->attr( $this->link( 'client/html/catalog/lists/url', ['f_catid' => $this->homeTree->getId(), 'f_name' => $this->homeTree->getName( 'url' )] ) ) ?>">
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
 			<div class="home-item <?= $enc->attr( $child->getCode() ) ?>">
56 56
 
57
-				<?php if( !( $mediaItems = $child->getRefItems( 'media', 'stage', 'default') )->isEmpty() ) : ?>
57
+				<?php if( !( $mediaItems = $child->getRefItems( 'media', 'stage', 'default' ) )->isEmpty() ) : ?>
58 58
 					<div class="home-stage">
59 59
 						<?php foreach( $mediaItems as $mediaItem ) : ?>
60 60
 							<a class="stage-item" href="<?= $enc->attr( $this->link( 'client/html/catalog/lists/url', ['f_catid' => $child->getId(), 'f_name' => $child->getName( 'url' )] ) ) ?>">
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Home/Standard.php 2 patches
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -166,8 +166,7 @@  discard block
 block discarded – undo
166 166
 			}
167 167
 
168 168
 			$html = $view->render( $config->get( $tplconf, $default ) );
169
-		}
170
-		else
169
+		} else
171 170
 		{
172 171
 			$html = $this->modifyBody( $html, $uid );
173 172
 		}
@@ -236,8 +235,7 @@  discard block
 block discarded – undo
236 235
 			{
237 236
 				$this->logException( $e );
238 237
 			}
239
-		}
240
-		else
238
+		} else
241 239
 		{
242 240
 			$html = $this->modifyHeader( $html, $uid );
243 241
 		}
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -443,7 +443,7 @@
 block discarded – undo
443 443
 		}
444 444
 
445 445
 		$tree = \Aimeos\Controller\Frontend::create( $context, 'catalog' )->uses( $domains )
446
-			->getTree( \Aimeos\Controller\Frontend\Catalog\Iface::LIST );
446
+			->getTree( \Aimeos\Controller\Frontend\Catalog\Iface::list );
447 447
 
448 448
 
449 449
 		$articles = map();
Please login to merge, or discard this patch.