Passed
Push — master ( 34ac4e...42601f )
by Aimeos
06:35
created
lib/mshoplib/src/MShop/Index/Manager/Price/Standard.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -663,7 +663,7 @@
 block discarded – undo
663 663
 
664 664
 			try {
665 665
 				$stmt->execute()->finish();
666
-			} catch( \Aimeos\MW\DB\Exception $e ) { ; } // Ignore duplicates
666
+			} catch( \Aimeos\MW\DB\Exception $e ) {; } // Ignore duplicates
667 667
 
668 668
 			break; // only first price
669 669
 		}
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -661,9 +661,13 @@
 block discarded – undo
661 661
 			$stmt->bind( 4, $date ); // mtime
662 662
 			$stmt->bind( 5, $siteid, \Aimeos\MW\DB\Statement\Base::PARAM_INT );
663 663
 
664
-			try {
664
+			try
665
+			{
665 666
 				$stmt->execute()->finish();
666
-			} catch( \Aimeos\MW\DB\Exception $e ) { ; } // Ignore duplicates
667
+			}
668
+			catch( \Aimeos\MW\DB\Exception $e )
669
+			{
670
+; } // Ignore duplicates
667 671
 
668 672
 			break; // only first price
669 673
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/IndexRemovePriceMeta.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,8 +71,7 @@  discard block
 block discarded – undo
71 71
 				$this->execute( $this->clear );
72 72
 				$this->execute( $stmt );
73 73
 				$this->status( 'done' );
74
-			}
75
-			else
74
+			} else
76 75
 			{
77 76
 				$this->status( 'OK' );
78 77
 			}
@@ -87,8 +86,7 @@  discard block
 block discarded – undo
87 86
 			{
88 87
 				$this->execute( $stmt );
89 88
 				$this->status( 'done' );
90
-			}
91
-			else
89
+			} else
92 90
 			{
93 91
 				$this->status( 'OK' );
94 92
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/IndexRemoveTextMeta.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,8 +68,7 @@  discard block
 block discarded – undo
68 68
 				$this->execute( $this->clear );
69 69
 				$this->execute( $stmt );
70 70
 				$this->status( 'done' );
71
-			}
72
-			else
71
+			} else
73 72
 			{
74 73
 				$this->status( 'OK' );
75 74
 			}
@@ -84,8 +83,7 @@  discard block
 block discarded – undo
84 83
 			{
85 84
 				$this->execute( $stmt );
86 85
 				$this->status( 'done' );
87
-			}
88
-			else
86
+			} else
89 87
 			{
90 88
 				$this->status( 'OK' );
91 89
 			}
Please login to merge, or discard this patch.