From 24ed5348379fba4d6ba5d334bdcc62158e17d446 Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 17 Feb 2025 21:31:12 +0530 Subject: [PATCH] Update the 5.2 migration guide. Refs cakephp/cakephp#18189 --- en/appendices/5-2-migration-guide.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/en/appendices/5-2-migration-guide.rst b/en/appendices/5-2-migration-guide.rst index 8cfa6ff7e9..4cc1448b6e 100644 --- a/en/appendices/5-2-migration-guide.rst +++ b/en/appendices/5-2-migration-guide.rst @@ -27,6 +27,11 @@ Console - ``Arguments::getMultipleOption()`` is deprecated. Use ``getArrayOption()`` instead. +Datasource +---------- + +- The ability to cast an ``EntityInterface`` instance to string has been deprecated. + You should ``json_encode()`` the entity instead. View ----