We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c098fbc commit 5b7a340Copy full SHA for 5b7a340
tests/Doctrine/Tests/ORM/Functional/ParserResultSerializationTest.php
@@ -75,6 +75,9 @@ public function testItSerializesParserResultWithAForwardCompatibleFormat(): void
75
$query = $this->_em
76
->createQuery('SELECT u FROM Doctrine\Tests\Models\Company\CompanyEmployee u WHERE u.name = :name');
77
78
+ // Use the (legacy) SqlWalker which directly puts an SqlExecutor instance into the parser result
79
+ $query->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, Query\SqlWalker::class);
80
+
81
$parserResult = self::parseQuery($query);
82
$serialized = serialize($parserResult);
83
$this->assertStringNotContainsString(
0 commit comments