Passed
Push — master ( 3c3bea...36cb3b )
by Aimeos
17:26
created
src/Command/JobsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
  * @package symfony
24 24
  * @subpackage Command
25 25
  */
26
-#[AsCommand(name: 'aimeos:jobs', description: 'Executes the job controllers')]
26
+#[AsCommand( name: 'aimeos:jobs', description: 'Executes the job controllers' )]
27 27
 class JobsCommand extends Command
28 28
 {
29 29
 	private $container;
Please login to merge, or discard this patch.
src/Command/ClearCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
  * @package symfony
24 24
  * @subpackage Command
25 25
  */
26
-#[AsCommand(name: 'aimeos:clear', description: 'Clears the content cache')]
26
+#[AsCommand( name: 'aimeos:clear', description: 'Clears the content cache' )]
27 27
 class ClearCommand extends Command
28 28
 {
29 29
 	private $container;
Please login to merge, or discard this patch.
src/Command/SetupCommand.php 1 patch
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:setup', description: 'Initialize or update the Aimeos database tables')]
27
+#[AsCommand( name: 'aimeos:setup', description: 'Initialize or update the Aimeos database tables' )]
28 28
 class SetupCommand extends Command
29 29
 {
30 30
 	private $container;
Please login to merge, or discard this patch.
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
@@ -71,9 +71,12 @@
 block discarded – undo
71 71
 
72 72
 		$manager = \Aimeos\MShop::create( $context, 'customer' );
73 73
 
74
-		try {
74
+		try
75
+		{
75 76
 			$item = $manager->find( $email );
76
-		} catch( \Aimeos\MShop\Exception $e ) {
77
+		}
78
+		catch( \Aimeos\MShop\Exception $e )
79
+		{
77 80
 			$item = $manager->create();
78 81
 		}
79 82
 
Please login to merge, or discard this patch.