Skip to content

Commit

Permalink
fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrajodas committed Oct 25, 2024
1 parent 78323ae commit 43a091b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/MigrationChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ public function postMigrationCheckStructure(Role $mainRoleWithGrants): void

assert(count($warehouses) > 0);
$useWarehouseSource = sprintf(
'USE WAREHOUSE %s', Helper::quoteIdentifier($this->config->getSourceSnowflakeWarehouse()),
'USE WAREHOUSE %s',
Helper::quoteIdentifier($this->config->getSourceSnowflakeWarehouse()),
);
$useWarehouseDestination = sprintf(
'USE WAREHOUSE %s', Helper::quoteIdentifier(current($warehouses)->getName()),
'USE WAREHOUSE %s',
Helper::quoteIdentifier(current($warehouses)->getName()),
);

$this->sourceConnection->query($useWarehouseSource);
Expand Down

0 comments on commit 43a091b

Please sign in to comment.