File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 5
5
Use of the PARTIAL keyword is not deprecated anymore in DQL when used with a hydrator
6
6
that is not creating entities, such as the ArrayHydrator.
7
7
8
+ ## Deprecate ` \Doctrine\ORM\Query\Parser::setCustomOutputTreeWalker() `
9
+
10
+ Use the ` \Doctrine\ORM\Query::HINT_CUSTOM_OUTPUT_WALKER ` query hint to set the output walker
11
+ class instead of setting it through the ` \Doctrine\ORM\Query\Parser::setCustomOutputTreeWalker() ` method
12
+ on the parser instance.
13
+
8
14
# Upgrade to 2.19
9
15
10
16
## Deprecate calling ` ClassMetadata::getAssociationMappedByTargetField() ` with the owning side of an association
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ public function setCustomOutputTreeWalker($className)
203
203
Deprecation::trigger (
204
204
'doctrine/orm ' ,
205
205
'https://github.com/doctrine/orm/pull/11641 ' ,
206
- '%s is deprecated, set the output walker class in a query hint instead ' ,
206
+ '%s is deprecated, set the output walker class with the \Doctrine\ORM\Query::HINT_CUSTOM_OUTPUT_WALKER query hint instead ' ,
207
207
__METHOD__
208
208
);
209
209
You can’t perform that action at this time.
0 commit comments