Skip to content

Commit

Permalink
DBAL v4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
GwendolenLynch committed Mar 7, 2024
1 parent d83b9a2 commit 192c23b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"ext-ctype": "*",
"ext-json": "*",
"ext-mbstring": "*",
"doctrine/dbal": "~2.10||~3.0"
"doctrine/dbal": "~2.10||~3.0||~4.0"
},
"require-dev": {
"doctrine/orm": "~2.14||~3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function can_transform_to_php_value(?array $phpValue, ?string $postgresVa
{
$this->platform->method('convertFromBoolean')
->with($this->anything())
->willReturn($this->returnCallback('boolval'));
->willReturnCallback('boolval');

$this->assertEquals($phpValue, $this->fixture->convertToPHPValue($postgresValue, $this->platform));
}
Expand Down

0 comments on commit 192c23b

Please sign in to comment.