Passed
Push — master ( 6cd6b2...66e904 )
by Aimeos
03:43
created
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/Attribute/Import/Xml/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,8 +96,7 @@
 block discarded – undo
96 96
 						$files[] = $entry->getPathname();
97 97
 					}
98 98
 				}
99
-			}
100
-			else
99
+			} else
101 100
 			{
102 101
 				$files[] = $location;
103 102
 			}
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Customer/Import/Xml/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,8 +96,7 @@
 block discarded – undo
96 96
 						$files[] = $entry->getPathname();
97 97
 					}
98 98
 				}
99
-			}
100
-			else
99
+			} else
101 100
 			{
102 101
 				$files[] = $location;
103 102
 			}
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Supplier/Import/Xml/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,8 +96,7 @@
 block discarded – undo
96 96
 						$files[] = $entry->getPathname();
97 97
 					}
98 98
 				}
99
-			}
100
-			else
99
+			} else
101 100
 			{
102 101
 				$files[] = $location;
103 102
 			}
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Product/Import/Xml/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,8 +96,7 @@
 block discarded – undo
96 96
 						$files[] = $entry->getPathname();
97 97
 					}
98 98
 				}
99
-			}
100
-			else
99
+			} else
101 100
 			{
102 101
 				$files[] = $location;
103 102
 			}
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Stock/Import/Csv/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,8 +96,7 @@
 block discarded – undo
96 96
 						$files[] = $entry->getPathname();
97 97
 					}
98 98
 				}
99
-			}
100
-			else
99
+			} else
101 100
 			{
102 101
 				$files[] = $location;
103 102
 			}
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Product/Import/Csv/Standard.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -575,9 +575,11 @@
 block discarded – undo
575 575
 
576 576
 				$map = $this->getMappedChunk( $list, $mapping );
577 577
 
578
-				if( isset( $map[0] ) ) // there can only be one chunk for the base product data
578
+				if( isset( $map[0] ) ) {
579
+					// there can only be one chunk for the base product data
579 580
 				{
580 581
 					$type = $this->checkType( $this->getValue( $map[0], 'product.type', $product->getType() ) );
582
+				}
581 583
 
582 584
 					$product = $product->fromArray( $map[0], true );
583 585
 					$product = $manager->saveItem( $product->setType( $type ) );
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Subscription/Process/Begin/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,8 +154,7 @@
 block discarded – undo
154 154
 						$interval = new \DateInterval( $item->getInterval() );
155 155
 						$dateNext = date_create( $item->getTimeCreated() )->add( $interval )->format( 'Y-m-d' );
156 156
 						$item = $item->setDateNext( $dateNext )->setPeriod( 1 );
157
-					}
158
-					elseif( $item->getTimeCreated() < $date )
157
+					} elseif( $item->getTimeCreated() < $date )
159 158
 					{
160 159
 						$item->setStatus( 0 );
161 160
 					}
Please login to merge, or discard this patch.