Passed
Push — master ( 5c56ce...84e3c8 )
by Aimeos
11:57 queued 07:50
created
src/MShop/Common/Manager/ListsRef/Traits.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,8 +161,7 @@
 block discarded – undo
161 161
 					$search->compare( '==', $domain . '.lists.domain', $key ),
162 162
 					$search->compare( '==', $domain . '.lists.type', $type ),
163 163
 				] );
164
-			}
165
-			else
164
+			} else
166 165
 			{
167 166
 				$type = !strncmp( $type, $domain . '/', $len + 1 ) ? [$type, substr( $type, $len + 1 )] : $type; // remove prefix
168 167
 				$list[] = $search->compare( '==', $domain . '.lists.domain', $type );
Please login to merge, or discard this patch.
src/MShop/Attribute/Manager/Standard.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -635,5 +635,5 @@
 block discarded – undo
635 635
 	 * @see mshop/attribute/manager/newid/ansi
636 636
 	 * @see mshop/attribute/manager/delete/ansi
637 637
 	 * @see mshop/attribute/manager/search/ansi
638
- */
638
+	 */
639 639
 }
Please login to merge, or discard this patch.
src/MShop/Order/Manager/Standard.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -612,9 +612,13 @@
 block discarded – undo
612 612
 	{
613 613
 		if( empty( $item->getInvoiceNumber() ) && $item->getStatusPayment() >= \Aimeos\MShop\Order\Item\Base::PAY_PENDING )
614 614
 		{
615
-			try {
615
+			try
616
+			{
616 617
 				$item->setInvoiceNumber( $this->createInvoiceNumber( $item ) );
617
-			} catch( \Exception $e ) { // redo on transaction deadlock
618
+			}
619
+			catch( \Exception $e )
620
+			{
621
+// redo on transaction deadlock
618 622
 				$item->setInvoiceNumber( $this->createInvoiceNumber( $item ) );
619 623
 			}
620 624
 		}
Please login to merge, or discard this patch.
src/MShop/Common/Manager/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
 					$row[$code] = json_decode( $row[$code], true );
378 378
 				}
379 379
 
380
-				$map[$row[$prefix .'id']] = $row;
380
+				$map[$row[$prefix . 'id']] = $row;
381 381
 			}
382 382
 		}
383 383
 		catch( \Exception $e )
Please login to merge, or discard this patch.
config/mshop/rule.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 
8 8
 
9 9
 return [
10
-    'submanagers' => [
11
-        'type' => 'type',
12
-    ],
10
+	'submanagers' => [
11
+		'type' => 'type',
12
+	],
13 13
 ];
Please login to merge, or discard this patch.