Passed
Push — master ( 300d61...eb493c )
by Aimeos
05:38
created
setup/default/LocaleCreateSite.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,9 +89,12 @@
 block discarded – undo
89 89
 
90 90
 		$context->setLocale( $manager->create()->setSiteId( $siteId ) );
91 91
 
92
-		try {
92
+		try
93
+		{
93 94
 			$manager->save( $manager->create()->fromArray( $data ) );
94
-		} catch( \Aimeos\Base\DB\Exception $e ) {
95
+		}
96
+		catch( \Aimeos\Base\DB\Exception $e )
97
+		{
95 98
 		}
96 99
 	}
97 100
 
Please login to merge, or discard this patch.
setup/TypeMigrateTables.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,9 @@
 block discarded – undo
75 75
 						unset( $row['id'] );
76 76
 						$db->insert( 'mshop_type', $row + ['for' => $for] );
77 77
 					}
78
-					catch( \Exception $e ) {} // Ignore duplicate entries
78
+					catch( \Exception $e )
79
+					{
80
+} // Ignore duplicate entries
79 81
 				}
80 82
 			}
81 83
 		}
Please login to merge, or discard this patch.
tests/MShop/Plugin/Manager/Type/StandardTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 
133 133
 		//search with base criteria
134 134
 		$search = $this->object->filter( true );
135
-		$search->add( $search->compare( '==', 'plugin.type.editor', $this->editor ), );
135
+		$search->add( $search->compare( '==', 'plugin.type.editor', $this->editor ),);
136 136
 		$search->setSortations( [$search->sort( '-', 'plugin.type.position' )] );
137 137
 
138 138
 		$results = $this->object->search( $search );
Please login to merge, or discard this patch.