From cda5f4c9dedf6b4a9a4fe35e6237d6584e03030f Mon Sep 17 00:00:00 2001 From: Gwendolen Lynch Date: Thu, 7 Mar 2024 20:25:58 +0100 Subject: [PATCH] DBAL v4 support (#193) --- composer.json | 2 +- tests/MartinGeorgiev/Doctrine/DBAL/Types/BooleanArrayTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 3de9473e..00de9174 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/tests/MartinGeorgiev/Doctrine/DBAL/Types/BooleanArrayTest.php b/tests/MartinGeorgiev/Doctrine/DBAL/Types/BooleanArrayTest.php index bc04f628..66666b78 100644 --- a/tests/MartinGeorgiev/Doctrine/DBAL/Types/BooleanArrayTest.php +++ b/tests/MartinGeorgiev/Doctrine/DBAL/Types/BooleanArrayTest.php @@ -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)); }