Completed
Pull Request — master (#20)
by
unknown
04:47 queued 02:32
created
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
@@ -87,8 +87,7 @@
 block discarded – undo
87 87
 			foreach( $manager->searchItems( $search ) as $item ) {
88 88
 				$this->listTypes[$item->getCode()] = $item->getCode();
89 89
 			}
90
-		}
91
-		else
90
+		} else
92 91
 		{
93 92
 			$this->listTypes = array_flip( $this->listTypes );
94 93
 		}
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Catalog/Import/Csv/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -590,8 +590,7 @@
 block discarded – undo
590 590
 					{
591 591
 						$manager->moveItem( $item->getId(), $item->getParentId(), $parentid );
592 592
 						$item = $manager->saveItem( $item );
593
-					}
594
-					else
593
+					} else
595 594
 					{
596 595
 						$item = $manager->insertItem( $item, $parentid );
597 596
 					}
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Order/Service/Payment/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,8 +119,7 @@
 block discarded – undo
119 119
 					{
120 120
 						$capdate = date( 'Y-m-d 00:00:00', time() - 86400 * $capDays );
121 121
 						$expr[] = $orderSearch->compare( '<=', 'order.datepayment', $capdate );
122
-					}
123
-					else
122
+					} else
124 123
 					{
125 124
 						$expr[] = $orderSearch->compare( '==', 'order.statusdelivery', $status );
126 125
 					}
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Subscription/Process/Renew/Standard.php 1 patch
Braces   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -170,9 +170,12 @@  discard block
 block discarded – undo
170 170
 		{
171 171
 			foreach( $codes as $code )
172 172
 			{
173
-				try {
173
+				try
174
+				{
174 175
 					$basket->addCoupon( $code );
175
-				} catch( \Aimeos\MShop\Plugin\Provider\Exception $e ) {
176
+				}
177
+				catch( \Aimeos\MShop\Plugin\Provider\Exception $e )
178
+				{
176 179
 					$basket->deleteCoupon( $code );
177 180
 				}
178 181
 			}
@@ -282,7 +285,9 @@  discard block
 block discarded – undo
282 285
 			$context->setUserId( $baseItem->getCustomerId() );
283 286
 			$context->setGroupIds( $customerItem->getGroups() );
284 287
 		}
285
-		catch( \Exception $e ) {} // Subscription without account
288
+		catch( \Exception $e )
289
+		{
290
+} // Subscription without account
286 291
 
287 292
 		return $context;
288 293
 	}
Please login to merge, or discard this patch.
src/Controller/Common/Product/Import/Csv/Processor/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,7 @@
 block discarded – undo
91 91
 			{
92 92
 				$item = $propMap[$value][$type];
93 93
 				unset( $items[$item->getId()] );
94
-			}
95
-			else
94
+			} else
96 95
 			{
97 96
 				$item = $manager->createItem()->setType( $type );
98 97
 			}
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
@@ -82,8 +82,7 @@  discard block
 block discarded – undo
82 82
 			foreach( $manager->searchItems( $search ) as $item ) {
83 83
 				$this->listTypes[$item->getCode()] = $item->getCode();
84 84
 			}
85
-		}
86
-		else
85
+		} else
87 86
 		{
88 87
 			$this->listTypes = array_flip( $this->listTypes );
89 88
 		}
@@ -144,8 +143,7 @@  discard block
 block discarded – undo
144 143
 				{
145 144
 					$listItem = $listMap[$code][$listtype];
146 145
 					unset( $listItems[$listItem->getId()] );
147
-				}
148
-				else
146
+				} else
149 147
 				{
150 148
 					$listItem = $listManager->createItem()->setType( $listtype );
151 149
 				}
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->searchItems( $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_flip( $this->listTypes );
88 87
 		}
@@ -143,8 +142,7 @@  discard block
 block discarded – undo
143 142
 					$listItem = $listMap[$url][$type][$listtype];
144 143
 					$refItem = $listItem->getRefItem();
145 144
 					unset( $listItems[$listItem->getId()] );
146
-				}
147
-				else
145
+				} else
148 146
 				{
149 147
 					$listItem = $listManager->createItem()->setType( $listtype );
150 148
 					$refItem = $manager->createItem()->setType( $type );
Please login to merge, or discard this patch.
src/Controller/Common/Product/Import/Csv/Processor/Catalog/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->searchItems( $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_flip( $this->listTypes );
88 87
 		}
@@ -164,8 +163,7 @@  discard block
 block discarded – undo
164 163
 					{
165 164
 						$listItem = $listMap[$catid][$listtype];
166 165
 						unset( $listItems[$listItem->getId()] );
167
-					}
168
-					else
166
+					} else
169 167
 					{
170 168
 						$listItem = $listManager->createItem()->setType( $listtype );
171 169
 					}
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
@@ -81,8 +81,7 @@  discard block
 block discarded – undo
81 81
 			foreach( $manager->searchItems( $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_flip( $this->listTypes );
88 87
 		}
@@ -143,8 +142,7 @@  discard block
 block discarded – undo
143 142
 					$listItem = $listMap[$url][$type][$listtype];
144 143
 					$refItem = $listItem->getRefItem();
145 144
 					unset( $listItems[$listItem->getId()] );
146
-				}
147
-				else
145
+				} else
148 146
 				{
149 147
 					$listItem = $listManager->createItem()->setType( $listtype );
150 148
 					$refItem = $manager->createItem()->setType( $type );
Please login to merge, or discard this patch.