Completed
Push — master ( 815faa...197710 )
by Aimeos
07:55
created
lib/mshoplib/src/MShop/Coupon/Manager/Code/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,8 +226,7 @@
 block discarded – undo
226 226
 
227 227
 					$params[] = implode( ',', $list );
228 228
 				}
229
-			}
230
-			else
229
+			} else
231 230
 			{
232 231
 				$params[] = $this->escape( '==', $this->getParamType( $string ), $string );
233 232
 			}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@
 block discarded – undo
246 246
 		 * @see mshop/coupon/manager/code/decorators/global
247 247
 		 */
248 248
 
249
-		return $this->getSubManagerBase( 'coupon', 'code/' . $manager, $name );
249
+		return $this->getSubManagerBase( 'coupon', 'code/'.$manager, $name );
250 250
 	}
251 251
 
252 252
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Coupon/Manager/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,8 +226,7 @@
 block discarded – undo
226 226
 
227 227
 					$params[] = implode( ',', $list );
228 228
 				}
229
-			}
230
-			else
229
+			} else
231 230
 			{
232 231
 				$params[] = $this->escape( '==', $this->getParamType( $string ), $string );
233 232
 			}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -622,7 +622,7 @@
 block discarded – undo
622 622
 		}
623 623
 
624 624
 		$interface = '\\Aimeos\\MShop\\Coupon\\Provider\\Factory\\Iface';
625
-		$classname = '\\Aimeos\\MShop\\Coupon\\Provider\\' . $providername;
625
+		$classname = '\\Aimeos\\MShop\\Coupon\\Provider\\'.$providername;
626 626
 
627 627
 		if( class_exists( $classname ) === false ) {
628 628
 			throw new \Aimeos\MShop\Coupon\Exception( sprintf( 'Class "%1$s" not available', $classname ) );
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Coupon/Provider/FixedRebate.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
 			$this->setCode( $key );
68 68
 			$this->values['id'] = $this->values['code'];
69 69
 			$this->modified = false;
70
-		}
71
-		else
70
+		} else
72 71
 		{
73 72
 			$this->values['id'] = null;
74 73
 			$this->modified = true;
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Customer/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,8 +226,7 @@
 block discarded – undo
226 226
 
227 227
 					$params[] = implode( ',', $list );
228 228
 				}
229
-			}
230
-			else
229
+			} else
231 230
 			{
232 231
 				$params[] = $this->escape( '==', $this->getParamType( $string ), $string );
233 232
 			}
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Locale/Item/Currency/Standard.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
 			$this->setCode( $key );
68 68
 			$this->values['id'] = $this->values['code'];
69 69
 			$this->modified = false;
70
-		}
71
-		else
70
+		} else
72 71
 		{
73 72
 			$this->values['id'] = null;
74 73
 			$this->modified = true;
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Locale/Manager/Currency/Standard.php 3 patches
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -104,9 +104,12 @@  discard block
 block discarded – undo
104 104
 	 */
105 105
 	public function createItem()
106 106
 	{
107
-		try {
107
+		try
108
+		{
108 109
 			$values = array( 'siteid' => $this->getContext()->getLocale()->getSiteId() );
109
-		} catch( \Exception $ex ) {
110
+		}
111
+		catch( \Exception $ex )
112
+		{
110 113
 			$values = array( 'siteid' => null );
111 114
 		}
112 115
 
@@ -167,8 +170,7 @@  discard block
 block discarded – undo
167 170
 				 * @see mshop/locale/manager/language/standard/count
168 171
 				 */
169 172
 				$path = 'mshop/locale/manager/language/standard/insert';
170
-			}
171
-			else
173
+			} else
172 174
 			{
173 175
 				/** mshop/locale/manager/language/standard/update
174 176
 				 * Updates an existing language record in the database
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
 			$replace = array(
370 370
 				$search->getConditionString( $types, $translations ),
371 371
 				$search->getSortationString( $types, $translations ),
372
-				( $columns ? ', ' . $columns : '' ),
372
+				( $columns ? ', '.$columns : '' ),
373 373
 				$search->getSliceStart(),
374 374
 				$search->getSliceSize(),
375 375
 			);
@@ -581,7 +581,7 @@  discard block
 block discarded – undo
581 581
 		 * @see mshop/locale/manager/currency/decorators/global
582 582
 		 */
583 583
 
584
-		return $this->getSubManagerBase( 'locale', 'currency/' . $manager, $name );
584
+		return $this->getSubManagerBase( 'locale', 'currency/'.$manager, $name );
585 585
 	}
586 586
 
587 587
 
@@ -611,7 +611,7 @@  discard block
 block discarded – undo
611 611
 	protected function getSearchResults( \Aimeos\MW\DB\Connection\Iface $conn, $sql )
612 612
 	{
613 613
 		$statement = $conn->create( $sql );
614
-		$this->getContext()->getLogger()->log( __METHOD__ . ': SQL statement: ' . $statement, \Aimeos\MW\Logger\Base::DEBUG );
614
+		$this->getContext()->getLogger()->log( __METHOD__.': SQL statement: '.$statement, \Aimeos\MW\Logger\Base::DEBUG );
615 615
 
616 616
 		$results = $statement->execute();
617 617
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -865,7 +865,7 @@  discard block
 block discarded – undo
865 865
 	 * Returns the search results for the given SQL statement.
866 866
 	 *
867 867
 	 * @param \Aimeos\MW\DB\Connection\Iface $conn Database connection
868
-	 * @param $sql SQL statement
868
+	 * @param string $sql SQL statement
869 869
 	 * @return \Aimeos\MW\DB\Result\Iface Search result object
870 870
 	 */
871 871
 	protected function getSearchResults( \Aimeos\MW\DB\Connection\Iface $conn, $sql )
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
 	 * Returns the total number of items found for the conditions
907 907
 	 *
908 908
 	 * @param \Aimeos\MW\DB\Connection\Iface $conn Database connection
909
-	 * @param array $find List of markers that should be replaced in the SQL statement
909
+	 * @param string[] $find List of markers that should be replaced in the SQL statement
910 910
 	 * @param array $replace List of replacements for the markers in the SQL statement
911 911
 	 * @throws \Aimeos\MShop\Locale\Exception If no total value was found
912 912
 	 * @return integer Total number of found items
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Media/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,8 +226,7 @@
 block discarded – undo
226 226
 
227 227
 					$params[] = implode( ',', $list );
228 228
 				}
229
-			}
230
-			else
229
+			} else
231 230
 			{
232 231
 				$params[] = $this->escape( '==', $this->getParamType( $string ), $string );
233 232
 			}
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Address/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,8 +226,7 @@
 block discarded – undo
226 226
 
227 227
 					$params[] = implode( ',', $list );
228 228
 				}
229
-			}
230
-			else
229
+			} else
231 230
 			{
232 231
 				$params[] = $this->escape( '==', $this->getParamType( $string ), $string );
233 232
 			}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -895,7 +895,7 @@
 block discarded – undo
895 895
 		 * @see mshop/order/manager/base/address/decorators/global
896 896
 		 */
897 897
 
898
-		return $this->getSubManagerBase( 'order', 'base/address/' . $manager, $name );
898
+		return $this->getSubManagerBase( 'order', 'base/address/'.$manager, $name );
899 899
 	}
900 900
 
901 901
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Product/Attribute/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,8 +226,7 @@
 block discarded – undo
226 226
 
227 227
 					$params[] = implode( ',', $list );
228 228
 				}
229
-			}
230
-			else
229
+			} else
231 230
 			{
232 231
 				$params[] = $this->escape( '==', $this->getParamType( $string ), $string );
233 232
 			}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -605,7 +605,7 @@
 block discarded – undo
605 605
 		 * @see mshop/order/manager/base/product/attribute/decorators/global
606 606
 		 */
607 607
 
608
-		return $this->getSubManagerBase( 'order', 'base/product/attribute/' . $manager, $name );
608
+		return $this->getSubManagerBase( 'order', 'base/product/attribute/'.$manager, $name );
609 609
 	}
610 610
 
611 611
 
Please login to merge, or discard this patch.