Passed
Push — master ( 6a45d5...a25d48 )
by Aimeos
03:30
created
src/Controller/Common/Product/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
 		}
@@ -141,8 +140,7 @@  discard block
 block discarded – undo
141 140
 				$listItem = $listMap[$content][$language][$type][$listtype];
142 141
 				$refItem = $listItem->getRefItem();
143 142
 				unset( $listItems[$listItem->getId()] );
144
-			}
145
-			else
143
+			} else
146 144
 			{
147 145
 				$listItem = $manager->createListItem()->setType( $listtype );
148 146
 				$refItem = $refManager->create()->setType( $type );
Please login to merge, or discard this patch.
src/Controller/Common/Product/Import/Csv/Processor/Price/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.
src/Controller/Common/Product/Import/Csv/Processor/Attribute/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,8 +79,7 @@  discard block
 block discarded – undo
79 79
 			foreach( $manager->search( $search ) as $item ) {
80 80
 				$this->listTypes[$item->getCode()] = $item->getCode();
81 81
 			}
82
-		}
83
-		else
82
+		} else
84 83
 		{
85 84
 			$this->listTypes = array_combine( $this->listTypes, $this->listTypes );
86 85
 		}
@@ -146,8 +145,7 @@  discard block
 block discarded – undo
146 145
 				{
147 146
 					$listItem = $listMap[$code][$attrType][$listtype];
148 147
 					unset( $listItems[$listItem->getId()] );
149
-				}
150
-				else
148
+				} else
151 149
 				{
152 150
 					$listItem = $manager->createListItem()->setType( $listtype );
153 151
 				}
Please login to merge, or discard this patch.
src/Controller/Common/Product/Import/Csv/Processor/Media/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@  discard block
 block discarded – undo
81 81
 			foreach( $manager->search( $search ) as $item ) {
82 82
 				$this->listTypes[$item->getCode()] = $item->getCode();
83 83
 			}
84
-		}
85
-		else
84
+		} else
86 85
 		{
87 86
 			$this->listTypes = array_combine( $this->listTypes, $this->listTypes );
88 87
 		}
@@ -151,8 +150,7 @@  discard block
 block discarded – undo
151 150
 					$listItem = $listMap[$url][$type][$langId][$listtype];
152 151
 					$refItem = $listItem->getRefItem();
153 152
 					unset( $listItems[$listItem->getId()] );
154
-				}
155
-				else
153
+				} else
156 154
 				{
157 155
 					$listItem = $manager->createListItem()->setType( $listtype );
158 156
 					$refItem = $refManager->create()->setType( $type );
Please login to merge, or discard this patch.
src/Controller/Common/Product/Import/Csv/Processor/Product/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,7 @@
 block discarded – undo
84 84
 			foreach( $manager->search( $search ) as $item ) {
85 85
 				$this->listTypes[$item->getCode()] = $item->getCode();
86 86
 			}
87
-		}
88
-		else
87
+		} else
89 88
 		{
90 89
 			$this->listTypes = array_combine( $this->listTypes, $this->listTypes );
91 90
 		}
Please login to merge, or discard this patch.
src/Controller/Common/Product/Import/Csv/Processor/Catalog/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,7 @@
 block discarded – undo
84 84
 			foreach( $manager->search( $search ) as $item ) {
85 85
 				$this->listTypes[$item->getCode()] = $item->getCode();
86 86
 			}
87
-		}
88
-		else
87
+		} else
89 88
 		{
90 89
 			$this->listTypes = array_combine( $this->listTypes, $this->listTypes );
91 90
 		}
Please login to merge, or discard this patch.
src/Controller/Common/Product/Import/Csv/Processor/Supplier/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,7 @@
 block discarded – undo
84 84
 			foreach( $manager->search( $search ) as $item ) {
85 85
 				$this->listTypes[$item->getCode()] = $item->getCode();
86 86
 			}
87
-		}
88
-		else
87
+		} else
89 88
 		{
90 89
 			$this->listTypes = array_combine( $this->listTypes, $this->listTypes );
91 90
 		}
Please login to merge, or discard this patch.
src/Controller/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/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.