Passed
Push — master ( 16546f...9a0a39 )
by Aimeos
03:05
created
lib/custom/src/MShop/Customer/Manager/Typo3.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -630,7 +630,7 @@
 block discarded – undo
630 630
 		}
631 631
 		catch( \Exception $e )
632 632
 		{
633
-			$dbm->release( $conn, $dbname  );
633
+			$dbm->release( $conn, $dbname );
634 634
 			throw $e;
635 635
 		}
636 636
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -470,8 +470,7 @@
 block discarded – undo
470 470
 				 */
471 471
 				$path = 'mshop/customer/manager/typo3/insert';
472 472
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
473
-			}
474
-			else
473
+			} else
475 474
 			{
476 475
 				/** mshop/customer/manager/typo3/update
477 476
 				 * Updates an existing customer record in the database
Please login to merge, or discard this patch.
lib/custom/src/MShop/Customer/Manager/Group/Typo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -237,8 +237,7 @@
 block discarded – undo
237 237
 				 */
238 238
 				$path = 'mshop/customer/manager/group/typo3/insert';
239 239
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
240
-			}
241
-			else
240
+			} else
242 241
 			{
243 242
 				/** mshop/customer/manager/group/typo3/update/mysql
244 243
 				 * Updates an existing customer group record in the database
Please login to merge, or discard this patch.
lib/custom/tests/MW/View/Engine/Typo3Test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@  discard block
 block discarded – undo
31 31
 			->disableOriginalConstructor()
32 32
 			->getMock();
33 33
 		$configuration->expects( $this->once() )->method( 'getConfiguration' );
34
-		$this->mock->expects( $this->at(0) )->method( 'get' )
35
-			->will( $this->returnValue( $configuration) );
34
+		$this->mock->expects( $this->at( 0 ) )->method( 'get' )
35
+			->will( $this->returnValue( $configuration ) );
36 36
 
37 37
 		$this->object = new \Aimeos\MW\View\Engine\Typo3( $this->mock );
38 38
 	}
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
 		$view->expects( $this->once() )->method( 'render' )
62 62
 			->will( $this->returnValue( 'test' ) );
63 63
 
64
-		$this->mock->expects( $this->at(0) )->method( 'get' )
65
-			->will( $this->returnValue( $view) );
64
+		$this->mock->expects( $this->at( 0 ) )->method( 'get' )
65
+			->will( $this->returnValue( $view ) );
66 66
 
67 67
 		$result = $this->object->render( $v, 'filepath', array( 'key' => 'value' ) );
68 68
 		$this->assertEquals( 'test', $result );
Please login to merge, or discard this patch.
lib/custom/src/MW/View/Engine/Typo3.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 	public function __construct( \TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager )
33 33
 	{
34 34
 		$this->objectManager = $objectManager;
35
-		$this->configuration = $this->objectManager->get(ConfigurationManager::class)->getConfiguration(ConfigurationManager::CONFIGURATION_TYPE_FRAMEWORK);
35
+		$this->configuration = $this->objectManager->get( ConfigurationManager::class )->getConfiguration( ConfigurationManager::CONFIGURATION_TYPE_FRAMEWORK );
36 36
 	}
37 37
 
38 38
 
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
 	public function render( \Aimeos\MW\View\Iface $view, string $filename, array $values ) : string
49 49
 	{
50 50
 		$fluid = $this->objectManager->get( 'TYPO3\\CMS\\Fluid\\View\\StandaloneView' );
51
-		$fluid->setPartialRootPaths((array) $this->configuration['view']['partialRootPaths']);
52
-		$fluid->setLayoutRootPaths((array) $this->configuration['view']['layoutRootPaths']);
51
+		$fluid->setPartialRootPaths( (array) $this->configuration['view']['partialRootPaths'] );
52
+		$fluid->setLayoutRootPaths( (array) $this->configuration['view']['layoutRootPaths'] );
53 53
 		$fluid->setTemplatePathAndFilename( $filename );
54 54
 		$fluid->assign( '_aimeos_view', $view );
55 55
 		$fluid->assignMultiple( $values );
Please login to merge, or discard this patch.
lib/custom/setup/CustomerRemoveLostUserDataTypo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
 				) {
59 59
 					$this->execute( $sql, 'db-customer' );
60 60
 					$this->status( 'done' );
61
-				}
62
-				else
61
+				} else
63 62
 				{
64 63
 					$this->status( 'OK' );
65 64
 				}
Please login to merge, or discard this patch.
lib/custom/setup/unittest/schema/customer.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 return array(
10 10
 	'table' => array(
11 11
 
12
-		'fe_users' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
12
+		'fe_users' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
13 13
 
14 14
 			$table = $schema->createTable( 'fe_users' );
15 15
 
@@ -69,14 +69,14 @@  discard block
 block discarded – undo
69 69
 			$table->addColumn( 'latitude', 'decimal', ['precision' => 8, 'scale' => 6, 'notnull' => false] );
70 70
 
71 71
 			$table->setPrimaryKey( ['uid'], 'PRIMARY' );
72
-			$table->addIndex( ['pid', 'username'],'fe_users_parent' );
73
-			$table->addIndex( ['username'],'fe_users_username' );
74
-			$table->addIndex( ['is_online'],'fe_users_is_online' );
72
+			$table->addIndex( ['pid', 'username'], 'fe_users_parent' );
73
+			$table->addIndex( ['username'], 'fe_users_username' );
74
+			$table->addIndex( ['is_online'], 'fe_users_is_online' );
75 75
 
76 76
 			return $schema;
77 77
 		},
78 78
 
79
-		'fe_groups' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
79
+		'fe_groups' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
80 80
 
81 81
 			$table = $schema->createTable( 'fe_groups' );
82 82
 
@@ -96,12 +96,12 @@  discard block
 block discarded – undo
96 96
 			$table->addColumn( 'tx_phpunit_is_dummy_record', 'integer', ['unsigned' => true, 'length' => 1, 'default' => 0] );
97 97
 
98 98
 			$table->setPrimaryKey( ['uid'], 'PRIMARY' );
99
-			$table->addIndex( ['pid', 'deleted', 'hidden'],'fe_groups_parent' );
99
+			$table->addIndex( ['pid', 'deleted', 'hidden'], 'fe_groups_parent' );
100 100
 
101 101
 			return $schema;
102 102
 		},
103 103
 
104
-		'static_countries' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
104
+		'static_countries' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
105 105
 
106 106
 			$table = $schema->createTable( 'static_countries' );
107 107
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 			$table->addColumn( 'cn_uno_member', 'integer', ['length' => 3, 'unsigned' => true, 'default' => 0] );
128 128
 
129 129
 			$table->setPrimaryKey( ['uid'], 'PRIMARY' );
130
-			$table->addIndex( ['pid'],'static_countries_parent' );
130
+			$table->addIndex( ['pid'], 'static_countries_parent' );
131 131
 
132 132
 			return $schema;
133 133
 		},
Please login to merge, or discard this patch.