From 32b6b6c4ba7b696781786e0537cb613d2e310151 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Tue, 2 Apr 2024 17:55:39 +0200 Subject: [PATCH] try workaround --- tests/Doctrine/Tests/ODM/PHPCR/Query/QueryTest.php | 4 ++-- tests/phpunit_doctrine_dbal.xml.dist | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Doctrine/Tests/ODM/PHPCR/Query/QueryTest.php b/tests/Doctrine/Tests/ODM/PHPCR/Query/QueryTest.php index 69044f6f1..d3a3c5642 100644 --- a/tests/Doctrine/Tests/ODM/PHPCR/Query/QueryTest.php +++ b/tests/Doctrine/Tests/ODM/PHPCR/Query/QueryTest.php @@ -122,9 +122,9 @@ public function testExecuteParameters(): void ->method('bindValue') ->with( $this->callback(function (string $key): bool { - return $key === 'kfoo' || $key === 'kbar'; + return 'kfoo' === $key || 'kbar' === $key; }), $this->callback(function (string $value): bool { - return $value === 'bar' || $value === 'foo'; + return 'bar' === $value || 'foo' === $value; }) ) ; diff --git a/tests/phpunit_doctrine_dbal.xml.dist b/tests/phpunit_doctrine_dbal.xml.dist index 19bc21242..ec0ce1873 100644 --- a/tests/phpunit_doctrine_dbal.xml.dist +++ b/tests/phpunit_doctrine_dbal.xml.dist @@ -10,6 +10,7 @@ +