Passed
Push — master ( 8d4357...91574d )
by Aimeos
33:22 queued 19:22
created
src/Controller/Frontend/Basket/Decorator/Select.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,9 +197,11 @@
 block discarded – undo
197 197
 			throw new \Aimeos\Controller\Frontend\Basket\Exception( sprintf( $msg, $productItem->getId() ) );
198 198
 		}
199 199
 
200
-		if( empty( $items ) && $requireVariant != false ) // count == 0
200
+		if( empty( $items ) && $requireVariant != false ) {
201
+			// count == 0
201 202
 		{
202 203
 			$msg = $context->translate( 'controller/frontend', 'No article found for selected attributes and product ID "%1$s"' );
204
+		}
203 205
 			throw new \Aimeos\Controller\Frontend\Basket\Exception( sprintf( $msg, $productItem->getId() ) );
204 206
 		}
205 207
 
Please login to merge, or discard this patch.
src/Controller/Frontend/Catalog/Iface.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 interface Iface
21 21
 {
22 22
 	public const ONE = 1;
23
-	public const LIST = 2;
23
+	public const list = 2;
24 24
 	public const TREE = 3;
25 25
 
26 26
 	/**
Please login to merge, or discard this patch.
src/Controller/Frontend/Site/Iface.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 interface Iface
21 21
 {
22 22
 	public const ONE = 1;
23
-	public const LIST = 2;
23
+	public const list = 2;
24 24
 	public const TREE = 3;
25 25
 
26 26
 	/**
Please login to merge, or discard this patch.
src/Controller/Frontend/Customer/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
 			 */
54 54
 			$groupIds = (array) $context->config()->get( 'controller/frontend/customer/groupids', [] );
55 55
 			$this->item = $this->manager->create()->setGroups( $groupIds );
56
-		}
57
-		else
56
+		} else
58 57
 		{
59 58
 			$this->item = $this->manager->get( $userid, [], true );
60 59
 		}
Please login to merge, or discard this patch.
src/Controller/Frontend/Basket/Base.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@
 block discarded – undo
322 322
 					$newBasket->addService( $service, $attributes );
323 323
 					$basket->deleteService( $type );
324 324
 				}
325
-				catch( \Exception $e ) { ; } // Don't notify the user as appropriate services can be added automatically
325
+				catch( \Exception $e ) {; } // Don't notify the user as appropriate services can be added automatically
326 326
 			}
327 327
 		}
328 328
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -322,7 +322,9 @@
 block discarded – undo
322 322
 					$newBasket->addService( $service, $attributes );
323 323
 					$basket->deleteService( $type );
324 324
 				}
325
-				catch( \Exception $e ) { ; } // Don't notify the user as appropriate services can be added automatically
325
+				catch( \Exception $e )
326
+				{
327
+; } // Don't notify the user as appropriate services can be added automatically
326 328
 			}
327 329
 		}
328 330
 
Please login to merge, or discard this patch.