Skip to content

Commit

Permalink
Merge branch 'master' into marin-3
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik authored May 16, 2024
2 parents 5fd4abc + 38df004 commit 9cc6635
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Enh #320: Minor refactoring of `DDLQueryBuilder::getColumnDefinition()` method (@Tigrov)
- Bug #320: Change visibility of `DDLQueryBuilder::getColumnDefinition()` method to `private` (@Tigrov)
- Enh #321: Implement `SqlParser` and `ExpressionBuilder` driver classes (@Tigrov)
- Chg #339: Replace call of `SchemaInterface::getRawTableName()` to `QuoterInterface::getRawTableName()` (@Tigrov)

## 1.2.0 March 21, 2024

Expand Down
2 changes: 1 addition & 1 deletion src/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ protected function findViewNames(string $schema = ''): array
*/
protected function getCacheKey(string $name): array
{
return array_merge([self::class], $this->generateCacheKey(), [$this->getRawTableName($name)]);
return array_merge([self::class], $this->generateCacheKey(), [$this->db->getQuoter()->getRawTableName($name)]);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions tests/CommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ public function testAlterColumn(): void
*/
public function testBatchInsert(
string $table,
array $columns,
iterable $values,
array $columns,
string $expected,
array $expectedParams = [],
int $insertedRow = 1
): void {
parent::testBatchInsert($table, $columns, $values, $expected, $expectedParams, $insertedRow);
parent::testBatchInsert($table, $values, $columns, $expected, $expectedParams, $insertedRow);
}

public function testDropCheck(): void
Expand Down
4 changes: 2 additions & 2 deletions tests/QueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ public function testAddUnique(string $name, string $table, array|string $columns
*/
public function testBatchInsert(
string $table,
array $columns,
iterable $rows,
array $columns,
string $expected,
array $expectedParams = [],
): void {
parent::testBatchInsert($table, $columns, $rows, $expected, $expectedParams);
parent::testBatchInsert($table, $rows, $columns, $expected, $expectedParams);
}

/**
Expand Down

0 comments on commit 9cc6635

Please sign in to comment.