Passed
Push — master ( adfdf4...9cd311 )
by Aimeos
03:31
created
Controller/Jobs/Common/Product/Import/Csv/Processor/Supplier/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@
 block discarded – undo
78 78
 			foreach( $manager->search( $search ) as $item ) {
79 79
 				$this->listTypes[$item->getCode()] = $item->getCode();
80 80
 			}
81
-		}
82
-		else
81
+		} else
83 82
 		{
84 83
 			$this->listTypes = array_combine( $this->listTypes, $this->listTypes );
85 84
 		}
Please login to merge, or discard this patch.
Controller/Jobs/Common/Product/Import/Csv/Processor/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
 			{
66 66
 				$item = $propMap[$value][$type];
67 67
 				$items->remove( $item->getId() );
68
-			}
69
-			else
68
+			} else
70 69
 			{
71 70
 				$item = $manager->create()->setType( $type );
72 71
 			}
Please login to merge, or discard this patch.
src/Controller/Jobs/Common/Catalog/Import/Csv/Processor/Text/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@  discard block
 block discarded – undo
78 78
 			foreach( $manager->search( $search ) as $item ) {
79 79
 				$this->listTypes[$item->getCode()] = $item->getCode();
80 80
 			}
81
-		}
82
-		else
81
+		} else
83 82
 		{
84 83
 			$this->listTypes = array_combine( $this->listTypes, $this->listTypes );
85 84
 		}
@@ -137,8 +136,7 @@  discard block
 block discarded – undo
137 136
 				$listItem = $listMap[$content][$type][$listtype];
138 137
 				$refItem = $listItem->getRefItem();
139 138
 				unset( $listItems[$listItem->getId()] );
140
-			}
141
-			else
139
+			} else
142 140
 			{
143 141
 				$listItem = $manager->createListItem()->setType( $listtype );
144 142
 				$refItem = $refManager->create()->setType( $type );
Please login to merge, or discard this patch.
src/Controller/Jobs/Common/Catalog/Import/Csv/Processor/Media/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@  discard block
 block discarded – undo
78 78
 			foreach( $manager->search( $search ) as $item ) {
79 79
 				$this->listTypes[$item->getCode()] = $item->getCode();
80 80
 			}
81
-		}
82
-		else
81
+		} else
83 82
 		{
84 83
 			$this->listTypes = array_combine( $this->listTypes, $this->listTypes );
85 84
 		}
@@ -157,8 +156,7 @@  discard block
 block discarded – undo
157 156
 					$listItem = $listMap[$url][$type][$listtype];
158 157
 					$refItem = $listItem->getRefItem();
159 158
 					unset( $listItems[$listItem->getId()] );
160
-				}
161
-				else
159
+				} else
162 160
 				{
163 161
 					$listItem = $manager->createListItem()->setType( $listtype );
164 162
 					$refItem = $refManager->create()->setType( $type );
Please login to merge, or discard this patch.
src/Controller/Jobs/Common/Supplier/Import/Csv/Processor/Text/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,8 +139,7 @@
 block discarded – undo
139 139
 				$listItem = $listMap[$content][$type][$listtype];
140 140
 				$refItem = $listItem->getRefItem();
141 141
 				unset( $listItems[$listItem->getId()] );
142
-			}
143
-			else
142
+			} else
144 143
 			{
145 144
 				$listItem = $manager->createListItem()->setType( $listtype );
146 145
 				$refItem = $refManager->create()->setType( $type );
Please login to merge, or discard this patch.
src/Controller/Jobs/Common/Supplier/Import/Csv/Processor/Media/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,8 +162,7 @@
 block discarded – undo
162 162
 					$listItem = $listMap[$url][$type][$listtype];
163 163
 					$refItem = $listItem->getRefItem();
164 164
 					unset( $listItems[$listItem->getId()] );
165
-				}
166
-				else
165
+				} else
167 166
 				{
168 167
 					$listItem = $manager->createListItem()->setType( $listtype );
169 168
 					$refItem = $refManager->create()->setType( $type );
Please login to merge, or discard this patch.