Passed
Push — master ( cdbf03...0df18a )
by Aimeos
04:18
created
src/Command/AccountCommand.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
  * @package symfony
25 25
  * @subpackage Command
26 26
  */
27
-#[AsCommand(name: 'aimeos:account', description: 'Creates new (admin) accounts')]
27
+#[AsCommand( name: 'aimeos:account', description: 'Creates new (admin) accounts' )]
28 28
 class AccountCommand extends Command
29 29
 {
30 30
 	private $container;
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,9 +82,12 @@
 block discarded – undo
82 82
 
83 83
 		$manager = \Aimeos\MShop::create( $context, 'customer' );
84 84
 
85
-		try {
85
+		try
86
+		{
86 87
 			$item = $manager->find( $email, ['customer/group'] );
87
-		} catch( \Aimeos\MShop\Exception $e ) {
88
+		}
89
+		catch( \Aimeos\MShop\Exception $e )
90
+		{
88 91
 			$item = $manager->create();
89 92
 		}
90 93
 
Please login to merge, or discard this patch.
tests/Fixtures/config/bundles.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
5
-    Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true],
6
-    Aimeos\ShopBundle\AimeosShopBundle::class => ['all' => true],
4
+	Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
5
+	Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true],
6
+	Aimeos\ShopBundle\AimeosShopBundle::class => ['all' => true],
7 7
 ];
8 8
\ No newline at end of file
Please login to merge, or discard this patch.