Completed
Push — master ( 7ac949...d0dda4 )
by Aimeos
11:16
created
lib/mshoplib/src/MShop/Common/Item/ListRef/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 	 *
117 117
 	 * @param string|null $domain Name of the domain (e.g. product, text, etc.) or null for all
118 118
 	 * @param array|string|null $type Name/Names of the item type or null for all
119
-	 * @param array|string|null $listtype Name/Names of the list item type or null for all
119
+	 * @param string $listtype Name/Names of the list item type or null for all
120 120
 	 * @return array List of items implementing \Aimeos\MShop\Common\Item\Iface
121 121
 	 */
122 122
 	public function getRefItems( $domain = null, $type = null, $listtype = null )
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Factory.php 2 patches
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.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 			$parts[$key] = ucwords( $part );
57 57
 		}
58 58
 
59
-		$factory = '\\Aimeos\\Controller\\Jobs\\' . join( '\\', $parts ) . '\\Factory';
59
+		$factory = '\\Aimeos\\Controller\\Jobs\\'.join( '\\', $parts ).'\\Factory';
60 60
 
61 61
 		if( class_exists( $factory ) === false ) {
62 62
 			throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Class "%1$s" not found', $factory ) );
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 		$cntlList = [];
87 87
 		$subFolder = trim( str_replace( '\\', '/', self::$prefix ), '/' );
88 88
 
89
-		if( strncmp( $subFolder, 'Aimeos' . '/', 7 ) === 0 ) {
89
+		if( strncmp( $subFolder, 'Aimeos'.'/', 7 ) === 0 ) {
90 90
 			$subFolder = substr( $subFolder, 7 );
91 91
 		}
92 92
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 		{
95 95
 			foreach( $list as $relpath )
96 96
 			{
97
-				$path .= DIRECTORY_SEPARATOR . str_replace( '/', DIRECTORY_SEPARATOR, $relpath . '/' . $subFolder );
97
+				$path .= DIRECTORY_SEPARATOR.str_replace( '/', DIRECTORY_SEPARATOR, $relpath.'/'.$subFolder );
98 98
 
99 99
 				if( is_dir( $path ) )
100 100
 				{
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 			{
133 133
 				$name = strtolower( $entry->getBaseName() );
134 134
 				$it = new \DirectoryIterator( $entry->getPathName() );
135
-				$pref = ( $prefix !== '' ? $prefix . '/' : '' ) . $name;
135
+				$pref = ( $prefix !== '' ? $prefix.'/' : '' ).$name;
136 136
 				$subList = self::createControllers( $it, $context, $aimeos, $pref );
137 137
 
138 138
 				$list = array_merge( $list, $subList );
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/CatalogRemoveSuggest.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
 			$this->executeList( $stmts['drop'] );
91 91
 
92 92
 			$this->status( sprintf( 'migrated (%1$d)', $count ) );
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/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/JobRenameUser.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
 			{
68 68
 				$this->execute( $stmt );
69 69
 				$this->status( 'renamed' );
70
-			}
71
-			else
70
+			} else
72 71
 			{
73 72
 				$this->status( 'OK' );
74 73
 			}
Please login to merge, or discard this patch.