@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | class FEUsersAddSiteIdTypo3 extends \Aimeos\MW\Setup\Task\Base |
16 | 16 | { |
17 | 17 | private $migrate = array( |
18 | - 'mysql' => array ( |
|
18 | + 'mysql' => array( |
|
19 | 19 | 'ALTER TABLE "fe_users" ADD "siteid" INTEGER NULL' |
20 | 20 | ), |
21 | 21 | ); |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | public function getPostDependencies() |
41 | 41 | { |
42 | - return array('TablesCreateTypo3'); |
|
42 | + return array( 'TablesCreateTypo3' ); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | && $schema->tableExists( $table ) === true |
62 | 62 | && $schema->columnExists( $table, $column ) === false ) |
63 | 63 | { |
64 | - foreach ( $this->migrate[$schema->getName()] as $stmt ) |
|
64 | + foreach( $this->migrate[$schema->getName()] as $stmt ) |
|
65 | 65 | { |
66 | 66 | $this->execute( $stmt ); |
67 | 67 | } |
@@ -66,8 +66,7 @@ |
||
66 | 66 | $this->execute( $stmt ); |
67 | 67 | } |
68 | 68 | $this->status( 'done' ); |
69 | - } |
|
70 | - else |
|
69 | + } else |
|
71 | 70 | { |
72 | 71 | $this->status( 'OK' ); |
73 | 72 | } |
@@ -53,8 +53,7 @@ discard block |
||
53 | 53 | { |
54 | 54 | $this->execute( $this->sql['address'] ); |
55 | 55 | $this->status( 'done' ); |
56 | - } |
|
57 | - else |
|
56 | + } else |
|
58 | 57 | { |
59 | 58 | $this->status( 'OK' ); |
60 | 59 | } |
@@ -66,8 +65,7 @@ discard block |
||
66 | 65 | { |
67 | 66 | $this->execute( $this->sql['list'] ); |
68 | 67 | $this->status( 'done' ); |
69 | - } |
|
70 | - else |
|
68 | + } else |
|
71 | 69 | { |
72 | 70 | $this->status( 'OK' ); |
73 | 71 | } |
@@ -32,7 +32,7 @@ |
||
32 | 32 | */ |
33 | 33 | protected function tearDown() |
34 | 34 | { |
35 | - unset($this->object); |
|
35 | + unset( $this->object ); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | */ |
33 | 33 | protected function tearDown() |
34 | 34 | { |
35 | - unset($this->object); |
|
35 | + unset( $this->object ); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | */ |
33 | 33 | protected function tearDown() |
34 | 34 | { |
35 | - unset($this->object); |
|
35 | + unset( $this->object ); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 |