Passed
Push — master ( 34ac4e...42601f )
by Aimeos
06:35
created
controller/jobs/src/Controller/Jobs/Factory.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,8 +136,7 @@
 block discarded – undo
136 136
 				$subList = self::createControllers( $it, $context, $aimeos, $pref );
137 137
 
138 138
 				$list = array_merge( $list, $subList );
139
-			}
140
-			else if( $prefix !== '' && $entry->getType() === 'file'
139
+			} else if( $prefix !== '' && $entry->getType() === 'file'
141 140
 				&& ( $name = $entry->getBaseName( '.php' ) ) === 'Factory' )
142 141
 			{
143 142
 				$list[$prefix] = self::createController( $context, $aimeos, $prefix );
Please login to merge, or discard this patch.
lib/mshoplib/setup/AttributeChangeTypeidNotNull.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
 		{
73 73
 			$this->executeList( $stmts );
74 74
 			$this->status( 'migrated' );
75
-		}
76
-		else
75
+		} else
77 76
 		{
78 77
 			$this->status( 'OK' );
79 78
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/CatalogAddCode.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
 		{
66 66
 			$this->executeList( $stmts );
67 67
 			$this->status( 'added' );
68
-		}
69
-		else
68
+		} else
70 69
 		{
71 70
 			$this->status( 'OK' );
72 71
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/CatalogIndexRenameDomainTables.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,7 @@
 block discarded – undo
71 71
 			{
72 72
 				$this->execute( $stmt );
73 73
 				$this->status( 'done' );
74
-			}
75
-			else
74
+			} else
76 75
 			{
77 76
 				$this->status( 'OK' );
78 77
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/ColumnDomainChangeLength.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,8 +172,7 @@
 block discarded – undo
172 172
 			{
173 173
 				$this->executeList( $stmtList );
174 174
 				$this->status( 'migrated' );
175
-			}
176
-			else
175
+			} else
177 176
 			{
178 177
 				$this->status( 'OK' );
179 178
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/CouponMigrateConfigKeys.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,8 +90,7 @@
 block discarded – undo
90 90
 		{
91 91
 			$this->executeList( $stmts, 'db-coupon' );
92 92
 			$this->status( 'done' );
93
-		}
94
-		else
93
+		} else
95 94
 		{
96 95
 			$this->status( 'OK' );
97 96
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/ListsAddStatus.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,8 +109,7 @@
 block discarded – undo
109 109
 			{
110 110
 				$this->executeList( $stmtList );
111 111
 				$this->status( 'added' );
112
-			}
113
-			else
112
+			} else
114 113
 			{
115 114
 				$this->status( 'OK' );
116 115
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/MShopAddPluginData.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,10 +115,14 @@
 block discarded – undo
115 115
 				$item->setPosition( $dataset['position'] );
116 116
 			}
117 117
 
118
-			try {
118
+			try
119
+			{
119 120
 				$pluginManager->saveItem( $item );
120 121
 				$num++;
121
-			} catch( \Exception $e ) {; } // if plugin configuration was already available
122
+			}
123
+			catch( \Exception $e )
124
+			{
125
+; } // if plugin configuration was already available
122 126
 		}
123 127
 
124 128
 		$this->status( $num > 0 ? $num . '/' . $total : 'OK' );
Please login to merge, or discard this patch.
lib/mshoplib/setup/OrderAddressMigrateSalutation.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@
 block discarded – undo
81 81
 			} else {
82 82
 				$this->status( 'OK' );
83 83
 			}
84
-		}
85
-		else
84
+		} else
86 85
 		{
87 86
 			$this->status( 'OK' );
88 87
 		}
Please login to merge, or discard this patch.