@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | parent::setUp(); |
15 | 15 | |
16 | 16 | if ($this->_em->getConnection()->getDatabasePlatform()->getName() !== 'postgresql') { |
17 | - $this->markTestSkipped('The ' . __CLASS__ .' requires the use of postgresql.'); |
|
17 | + $this->markTestSkipped('The '.__CLASS__.' requires the use of postgresql.'); |
|
18 | 18 | } |
19 | 19 | } |
20 | 20 | |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | { |
140 | 140 | return [ |
141 | 141 | ['/^(?!pg_entity_to_r)/', null], |
142 | - [null, function ($assetName): bool { |
|
142 | + [null, function($assetName): bool { |
|
143 | 143 | return $assetName != 'pg_entity_to_remove'; |
144 | 144 | }] |
145 | 145 | ]; |
@@ -150,11 +150,11 @@ discard block |
||
150 | 150 | */ |
151 | 151 | public function testUpdateSchemaSqlWithSchemaAssetFilter(?string $filterRegex, ?callable $filterCallback): void |
152 | 152 | { |
153 | - if ($filterRegex && !method_exists(Configuration::class, 'setFilterSchemaAssetsExpression')) { |
|
153 | + if ($filterRegex && ! method_exists(Configuration::class, 'setFilterSchemaAssetsExpression')) { |
|
154 | 154 | $this->markTestSkipped(sprintf("Test require %s::setFilterSchemaAssetsExpression method", Configuration::class)); |
155 | 155 | } |
156 | 156 | |
157 | - if ($filterCallback && !method_exists(Configuration::class, 'setSchemaAssetsFilter')) { |
|
157 | + if ($filterCallback && ! method_exists(Configuration::class, 'setSchemaAssetsFilter')) { |
|
158 | 158 | $this->markTestSkipped(sprintf("Test require %s::setSchemaAssetsFilter method", Configuration::class)); |
159 | 159 | } |
160 | 160 |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | protected function setUp() { |
13 | 13 | parent::setUp(); |
14 | 14 | if ($this->_em->getConnection()->getDatabasePlatform()->getName() !== 'mysql') { |
15 | - $this->markTestSkipped('The ' . __CLASS__ .' requires the use of mysql.'); |
|
15 | + $this->markTestSkipped('The '.__CLASS__.' requires the use of mysql.'); |
|
16 | 16 | } |
17 | 17 | } |
18 | 18 | |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | { |
114 | 114 | return [ |
115 | 115 | ['/^(?!entity_to_r)/', null], |
116 | - [null, function ($assetName): bool { |
|
116 | + [null, function($assetName): bool { |
|
117 | 117 | return $assetName != 'entity_to_remove'; |
118 | 118 | }] |
119 | 119 | ]; |
@@ -124,11 +124,11 @@ discard block |
||
124 | 124 | */ |
125 | 125 | public function testUpdateSchemaSqlWithSchemaAssetFilter(?string $filterRegex, ?callable $filterCallback): void |
126 | 126 | { |
127 | - if ($filterRegex && !method_exists(Configuration::class, 'setFilterSchemaAssetsExpression')) { |
|
127 | + if ($filterRegex && ! method_exists(Configuration::class, 'setFilterSchemaAssetsExpression')) { |
|
128 | 128 | $this->markTestSkipped(sprintf("Test require %s::setFilterSchemaAssetsExpression method", Configuration::class)); |
129 | 129 | } |
130 | 130 | |
131 | - if ($filterCallback && !method_exists(Configuration::class, 'setSchemaAssetsFilter')) { |
|
131 | + if ($filterCallback && ! method_exists(Configuration::class, 'setSchemaAssetsFilter')) { |
|
132 | 132 | $this->markTestSkipped(sprintf("Test require %s::setSchemaAssetsFilter method", Configuration::class)); |
133 | 133 | } |
134 | 134 |