@@ -78,8 +78,7 @@ discard block |
||
78 | 78 | { |
79 | 79 | $this->execute( $stmts['index'] ); |
80 | 80 | $this->status( 'dropped' ); |
81 | - } |
|
82 | - else |
|
81 | + } else |
|
83 | 82 | { |
84 | 83 | $this->status( 'OK' ); |
85 | 84 | } |
@@ -125,8 +124,7 @@ discard block |
||
125 | 124 | } else { |
126 | 125 | $this->status( 'OK' ); |
127 | 126 | } |
128 | - } |
|
129 | - else |
|
127 | + } else |
|
130 | 128 | { |
131 | 129 | $this->status( 'OK' ); |
132 | 130 | } |
@@ -67,8 +67,7 @@ |
||
67 | 67 | { |
68 | 68 | $this->execute( $stmt ); |
69 | 69 | $this->status( 'renamed' ); |
70 | - } |
|
71 | - else |
|
70 | + } else |
|
72 | 71 | { |
73 | 72 | $this->status( 'OK' ); |
74 | 73 | } |
@@ -81,8 +81,7 @@ |
||
81 | 81 | } else { |
82 | 82 | $this->status( 'OK' ); |
83 | 83 | } |
84 | - } |
|
85 | - else |
|
84 | + } else |
|
86 | 85 | { |
87 | 86 | $this->status( 'OK' ); |
88 | 87 | } |
@@ -65,8 +65,7 @@ |
||
65 | 65 | { |
66 | 66 | $this->executeList( $stmts ); |
67 | 67 | $this->status( 'added' ); |
68 | - } |
|
69 | - else |
|
68 | + } else |
|
70 | 69 | { |
71 | 70 | $this->status( 'OK' ); |
72 | 71 | } |
@@ -76,8 +76,7 @@ |
||
76 | 76 | { |
77 | 77 | $this->executeList( $stmtList ); |
78 | 78 | $this->status( 'renamed' ); |
79 | - } |
|
80 | - else |
|
79 | + } else |
|
81 | 80 | { |
82 | 81 | $this->status( 'OK' ); |
83 | 82 | } |
@@ -81,8 +81,7 @@ |
||
81 | 81 | } else { |
82 | 82 | $this->status( 'OK' ); |
83 | 83 | } |
84 | - } |
|
85 | - else |
|
84 | + } else |
|
86 | 85 | { |
87 | 86 | $this->status( 'OK' ); |
88 | 87 | } |
@@ -67,8 +67,7 @@ |
||
67 | 67 | { |
68 | 68 | $this->execute( $stmt ); |
69 | 69 | $this->status( 'renamed' ); |
70 | - } |
|
71 | - else |
|
70 | + } else |
|
72 | 71 | { |
73 | 72 | $this->status( 'OK' ); |
74 | 73 | } |
@@ -81,8 +81,7 @@ |
||
81 | 81 | } else { |
82 | 82 | $this->status( 'OK' ); |
83 | 83 | } |
84 | - } |
|
85 | - else |
|
84 | + } else |
|
86 | 85 | { |
87 | 86 | $this->status( 'OK' ); |
88 | 87 | } |
@@ -14,7 +14,8 @@ discard block |
||
14 | 14 | |
15 | 15 | |
16 | 16 | 'table' => array( |
17 | - 'mshop_text_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
17 | + 'mshop_text_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
18 | + { |
|
18 | 19 | |
19 | 20 | $table = $schema->createTable( 'mshop_text_type' ); |
20 | 21 | |
@@ -37,7 +38,8 @@ discard block |
||
37 | 38 | return $schema; |
38 | 39 | }, |
39 | 40 | |
40 | - 'mshop_text' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
41 | + 'mshop_text' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
42 | + { |
|
41 | 43 | |
42 | 44 | $table = $schema->createTable( 'mshop_text' ); |
43 | 45 | |
@@ -65,7 +67,8 @@ discard block |
||
65 | 67 | return $schema; |
66 | 68 | }, |
67 | 69 | |
68 | - 'mshop_text_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
70 | + 'mshop_text_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
71 | + { |
|
69 | 72 | |
70 | 73 | $table = $schema->createTable( 'mshop_text_list_type' ); |
71 | 74 | |
@@ -88,7 +91,8 @@ discard block |
||
88 | 91 | return $schema; |
89 | 92 | }, |
90 | 93 | |
91 | - 'mshop_text_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
94 | + 'mshop_text_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) |
|
95 | + { |
|
92 | 96 | |
93 | 97 | $table = $schema->createTable( 'mshop_text_list' ); |
94 | 98 |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | |
15 | 15 | |
16 | 16 | 'table' => array( |
17 | - 'mshop_text_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
17 | + 'mshop_text_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
18 | 18 | |
19 | 19 | $table = $schema->createTable( 'mshop_text_type' ); |
20 | 20 | |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | return $schema; |
38 | 38 | }, |
39 | 39 | |
40 | - 'mshop_text' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
40 | + 'mshop_text' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
41 | 41 | |
42 | 42 | $table = $schema->createTable( 'mshop_text' ); |
43 | 43 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | $table->addColumn( 'status', 'smallint', [] ); |
52 | 52 | $table->addColumn( 'mtime', 'datetime', [] ); |
53 | 53 | $table->addColumn( 'ctime', 'datetime', [] ); |
54 | - $table->addColumn( 'editor', 'string', array('length' => 255 ) ); |
|
54 | + $table->addColumn( 'editor', 'string', array( 'length' => 255 ) ); |
|
55 | 55 | |
56 | 56 | $table->setPrimaryKey( array( 'id' ), 'pk_mstex_id' ); |
57 | 57 | $table->addIndex( array( 'siteid', 'domain', 'status' ), 'idx_mstex_sid_domain_status' ); |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | return $schema; |
66 | 66 | }, |
67 | 67 | |
68 | - 'mshop_text_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
68 | + 'mshop_text_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
69 | 69 | |
70 | 70 | $table = $schema->createTable( 'mshop_text_list_type' ); |
71 | 71 | |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | return $schema; |
89 | 89 | }, |
90 | 90 | |
91 | - 'mshop_text_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
91 | + 'mshop_text_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) { |
|
92 | 92 | |
93 | 93 | $table = $schema->createTable( 'mshop_text_list' ); |
94 | 94 |