Skip to content

Commit 9f462fc

Browse files
authored
Merge pull request #7997 from cakephp/entity-stringable
Update the 5.2 migration guide.
2 parents b85c621 + 24ed534 commit 9f462fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

en/appendices/5-2-migration-guide.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ Console
2727
- ``Arguments::getMultipleOption()`` is deprecated. Use ``getArrayOption()``
2828
instead.
2929

30+
Datasource
31+
----------
32+
33+
- The ability to cast an ``EntityInterface`` instance to string has been deprecated.
34+
You should ``json_encode()`` the entity instead.
3035

3136
View
3237
----

0 commit comments

Comments
 (0)