Passed
Push — master ( 30b2d4...f67e05 )
by Aimeos
01:43
created
common/src/Controller/Common/Product/Import/Csv/Cache/Product/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,6 +70,6 @@
 block discarded – undo
70 70
 	 */
71 71
 	public function set( \Aimeos\MShop\Common\Item\Iface $item )
72 72
 	{
73
-		$this->prodmap[ $item->getCode() ] = $item->getId();
73
+		$this->prodmap[$item->getCode()] = $item->getId();
74 74
 	}
75 75
 }
Please login to merge, or discard this patch.
common/src/Controller/Common/Product/Import/Csv/Cache/Catalog/Standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 		$result = $manager->searchItems( $manager->createSearch() );
49 49
 
50 50
 		foreach( $result as $id => $item ) {
51
-			$this->categories[ $item->getCode() ] = $id;
51
+			$this->categories[$item->getCode()] = $id;
52 52
 		}
53 53
 	}
54 54
 
@@ -88,6 +88,6 @@  discard block
 block discarded – undo
88 88
 	 */
89 89
 	public function set( \Aimeos\MShop\Common\Item\Iface $item )
90 90
 	{
91
-		$this->categories[ $item->getCode() ] = $item->getId();
91
+		$this->categories[$item->getCode()] = $item->getId();
92 92
 	}
93 93
 }
Please login to merge, or discard this patch.
src/Controller/Common/Product/Import/Csv/Cache/Attribute/Standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 		$result = $manager->searchItems( $manager->createSearch() );
49 49
 
50 50
 		foreach( $result as $id => $item ) {
51
-			$this->attributes[ $item->getCode() ][ $item->getType() ] = $item;
51
+			$this->attributes[$item->getCode()][$item->getType()] = $item;
52 52
 		}
53 53
 	}
54 54
 
@@ -98,6 +98,6 @@  discard block
 block discarded – undo
98 98
 			$this->attributes[$code] = [];
99 99
 		}
100 100
 
101
-		$this->attributes[$code][ $item->getType() ] = $item;
101
+		$this->attributes[$code][$item->getType()] = $item;
102 102
 	}
103 103
 }
Please login to merge, or discard this patch.
controller/jobs/templates/product/export/items-body-standard.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 			<list>
23 23
 				<text>
24 24
 					<?php foreach( $item->getListItems( 'text' ) as $listItem ) : ?>
25
-						<?php if ( $refItem = $listItem->getRefItem() ) { ?>
25
+						<?php if( $refItem = $listItem->getRefItem() ) { ?>
26 26
 							<textitem id="<?php echo $enc->attr( $refItem->getId() ); ?>" siteid="<?php echo $enc->attr( $refItem->getSiteId() ); ?>" ctime="<?php echo $enc->attr( $refItem->getTimeCreated() ); ?>" mtime="<?php echo $enc->attr( $refItem->getTimeModified() ); ?>" editor="<?php echo $enc->attr( $refItem->getEditor() ); ?>" list.id="<?php echo $enc->attr( $listItem->getId() ); ?>" list.siteid="<?php echo $enc->attr( $listItem->getSiteId() ); ?>" list.parentid="<?php echo $enc->attr( $listItem->getParentId() ); ?>" list.type="<?php echo $enc->attr( $listItem->getType() ); ?>" list.domain="<?php echo $enc->attr( $listItem->getDomain() ); ?>" list.config="<?php echo $enc->attr( json_encode( $listItem->getConfig() ) ); ?>" list.start="<?php echo $enc->attr( $listItem->getDateStart() ); ?>" list.end="<?php echo $enc->attr( $listItem->getDateEnd() ); ?>" list.position="<?php echo $enc->attr( $listItem->getPosition() ); ?>" list.status="<?php echo $enc->attr( $listItem->getStatus() ); ?>" list.ctime="<?php echo $enc->attr( $listItem->getTimeCreated() ); ?>" list.mtime="<?php echo $enc->attr( $listItem->getTimeModified() ); ?>" list.editor="<?php echo $enc->attr( $listItem->getEditor() ); ?>">
27 27
 								<type><![CDATA[<?php echo $refItem->getType(); ?>]]></type>
28 28
 								<languageid><![CDATA[<?php echo $refItem->getLanguageId(); ?>]]></languageid>
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 				</text>
37 37
 				<media>
38 38
 					<?php foreach( $item->getListItems( 'media' ) as $listItem ) : ?>
39
-						<?php if ( $refItem = $listItem->getRefItem() ) { ?>
39
+						<?php if( $refItem = $listItem->getRefItem() ) { ?>
40 40
 							<mediaitem id="<?php echo $enc->attr( $refItem->getId() ); ?>" siteid="<?php echo $enc->attr( $refItem->getSiteId() ); ?>" ctime="<?php echo $enc->attr( $refItem->getTimeCreated() ); ?>" mtime="<?php echo $enc->attr( $refItem->getTimeModified() ); ?>" editor="<?php echo $enc->attr( $refItem->getEditor() ); ?>" list.id="<?php echo $enc->attr( $listItem->getId() ); ?>" list.siteid="<?php echo $enc->attr( $listItem->getSiteId() ); ?>" list.parentid="<?php echo $enc->attr( $listItem->getParentId() ); ?>" list.type="<?php echo $enc->attr( $listItem->getType() ); ?>" list.config="<?php echo $enc->attr( json_encode( $listItem->getConfig() ) ); ?>" list.start="<?php echo $enc->attr( $listItem->getDateStart() ); ?>" list.end="<?php echo $enc->attr( $listItem->getDateEnd() ); ?>" list.position="<?php echo $enc->attr( $listItem->getPosition() ); ?>" list.status="<?php echo $enc->attr( $listItem->getStatus() ); ?>" list.ctime="<?php echo $enc->attr( $listItem->getTimeCreated() ); ?>" list.mtime="<?php echo $enc->attr( $listItem->getTimeModified() ); ?>" list.editor="<?php echo $enc->attr( $listItem->getEditor() ); ?>">
41 41
 								<type><![CDATA[<?php echo $refItem->getType(); ?>]]></type>
42 42
 								<languageid><![CDATA[<?php echo $refItem->getLanguageId(); ?>]]></languageid>
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 				</media>
53 53
 				<price>
54 54
 					<?php foreach( $item->getListItems( 'price' ) as $listItem ) : ?>
55
-						<?php if ( $refItem = $listItem->getRefItem() ) { ?>
55
+						<?php if( $refItem = $listItem->getRefItem() ) { ?>
56 56
 							<priceitem id="<?php echo $enc->attr( $refItem->getId() ); ?>" siteid="<?php echo $enc->attr( $refItem->getSiteId() ); ?>" ctime="<?php echo $enc->attr( $refItem->getTimeCreated() ); ?>" mtime="<?php echo $enc->attr( $refItem->getTimeModified() ); ?>" editor="<?php echo $enc->attr( $refItem->getEditor() ); ?>" list.id="<?php echo $enc->attr( $listItem->getId() ); ?>" list.siteid="<?php echo $enc->attr( $listItem->getSiteId() ); ?>" list.parentid="<?php echo $enc->attr( $listItem->getParentId() ); ?>" list.type="<?php echo $enc->attr( $listItem->getType() ); ?>" list.config="<?php echo $enc->attr( json_encode( $listItem->getConfig() ) ); ?>" list.start="<?php echo $enc->attr( $listItem->getDateStart() ); ?>" list.end="<?php echo $enc->attr( $listItem->getDateEnd() ); ?>" list.position="<?php echo $enc->attr( $listItem->getPosition() ); ?>" list.status="<?php echo $enc->attr( $listItem->getStatus() ); ?>" list.ctime="<?php echo $enc->attr( $listItem->getTimeCreated() ); ?>" list.mtime="<?php echo $enc->attr( $listItem->getTimeModified() ); ?>" list.editor="<?php echo $enc->attr( $listItem->getEditor() ); ?>">
57 57
 								<type><![CDATA[<?php echo $refItem->getType(); ?>]]></type>
58 58
 								<currencyid><![CDATA[<?php echo $refItem->getCurrencyId(); ?>]]></currencyid>
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 				</price>
71 71
 				<attribute>
72 72
 					<?php foreach( $item->getListItems( 'attribute' ) as $listItem ) : ?>
73
-						<?php if ( $refItem = $listItem->getRefItem() ) { ?>
73
+						<?php if( $refItem = $listItem->getRefItem() ) { ?>
74 74
 							<attributeitem id="<?php echo $enc->attr( $refItem->getId() ); ?>" siteid="<?php echo $enc->attr( $refItem->getSiteId() ); ?>" ctime="<?php echo $enc->attr( $refItem->getTimeCreated() ); ?>" mtime="<?php echo $enc->attr( $refItem->getTimeModified() ); ?>" editor="<?php echo $enc->attr( $refItem->getEditor() ); ?>" list.id="<?php echo $enc->attr( $listItem->getId() ); ?>" list.siteid="<?php echo $enc->attr( $listItem->getSiteId() ); ?>" list.parentid="<?php echo $enc->attr( $listItem->getParentId() ); ?>" list.type="<?php echo $enc->attr( $listItem->getType() ); ?>" list.config="<?php echo $enc->attr( json_encode( $listItem->getConfig() ) ); ?>" list.start="<?php echo $enc->attr( $listItem->getDateStart() ); ?>" list.end="<?php echo $enc->attr( $listItem->getDateEnd() ); ?>" list.position="<?php echo $enc->attr( $listItem->getPosition() ); ?>" list.status="<?php echo $enc->attr( $listItem->getStatus() ); ?>" list.ctime="<?php echo $enc->attr( $listItem->getTimeCreated() ); ?>" list.mtime="<?php echo $enc->attr( $listItem->getTimeModified() ); ?>" list.editor="<?php echo $enc->attr( $listItem->getEditor() ); ?>">
75 75
 								<type><![CDATA[<?php echo $refItem->getType(); ?>]]></type>
76 76
 								<code><![CDATA[<?php echo $refItem->getCode(); ?>]]></code>
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 				</attribute>
85 85
 				<product>
86 86
 					<?php foreach( $item->getListItems( 'product' ) as $listItem ) : ?>
87
-						<?php if ( $refItem = $listItem->getRefItem() ) { ?>
87
+						<?php if( $refItem = $listItem->getRefItem() ) { ?>
88 88
 							<productitem id="<?php echo $enc->attr( $refItem->getId() ); ?>" siteid="<?php echo $enc->attr( $refItem->getSiteId() ); ?>" ctime="<?php echo $enc->attr( $refItem->getTimeCreated() ); ?>" mtime="<?php echo $enc->attr( $refItem->getTimeModified() ); ?>" editor="<?php echo $enc->attr( $refItem->getEditor() ); ?>" list.id="<?php echo $enc->attr( $listItem->getId() ); ?>" list.siteid="<?php echo $enc->attr( $listItem->getSiteId() ); ?>" list.parentid="<?php echo $enc->attr( $listItem->getParentId() ); ?>" list.type="<?php echo $enc->attr( $listItem->getType() ); ?>" list.config="<?php echo $enc->attr( json_encode( $listItem->getConfig() ) ); ?>" list.start="<?php echo $enc->attr( $listItem->getDateStart() ); ?>" list.end="<?php echo $enc->attr( $listItem->getDateEnd() ); ?>" list.position="<?php echo $enc->attr( $listItem->getPosition() ); ?>" list.status="<?php echo $enc->attr( $listItem->getStatus() ); ?>" list.ctime="<?php echo $enc->attr( $listItem->getTimeCreated() ); ?>" list.mtime="<?php echo $enc->attr( $listItem->getTimeModified() ); ?>" list.editor="<?php echo $enc->attr( $listItem->getEditor() ); ?>">
89 89
 								<type><![CDATA[<?php echo $item->getType(); ?>]]></type>
90 90
 								<code><![CDATA[<?php echo $item->getCode(); ?>]]></code>
Please login to merge, or discard this patch.