diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index 1a23e1c08..53987a855 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -46,7 +46,7 @@ jobs: - php-version: '8.3' dependencies: highest symfony-version: '7.*' - jackalope-version: '2.*' + jackalope-version: 'dev-avoid-utf8_bin-error as 2.0' php-bench: true steps: 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 @@ +