diff --git a/user_guide_src/source/installation/upgrade_405.rst b/user_guide_src/source/installation/upgrade_405.rst index e3c07c13a816..844e76b25200 100644 --- a/user_guide_src/source/installation/upgrade_405.rst +++ b/user_guide_src/source/installation/upgrade_405.rst @@ -39,7 +39,7 @@ Additional related deprecations from the HTTP layer: * ``Message::isJSON()``: Check the "Content-Type" header directly * ``Request[Interface]::isValidIP()``: Use the Validation class with ``valid_ip`` -* ``Request[Interface]::getMethod()``: The ``$upper`` parameter will be removed, use str_to_upper() +* ``Request[Interface]::getMethod()``: The ``$upper`` parameter will be removed, use strtoupper() * ``Request[Trait]::$ipAddress``: This property will become private * ``Request::$proxyIPs``: This property will be removed; access ``config('App')->proxyIPs`` directly * ``Request::__construct()``: The constructor will no longer take ``Config\App`` and has been made nullable to aid transition diff --git a/user_guide_src/source/installation/upgrade_412.rst b/user_guide_src/source/installation/upgrade_412.rst index ae0ba9d6fefc..1fec935f7ec6 100644 --- a/user_guide_src/source/installation/upgrade_412.rst +++ b/user_guide_src/source/installation/upgrade_412.rst @@ -46,7 +46,7 @@ BaseConnection::query() Return Values ``BaseConnection::query()`` method in prior versions was incorrectly returning BaseResult objects even if the query failed. This method will now return ``false`` for failed queries (or throw an Exception if ``DBDebug`` is ``true``) and will return booleans for write-type queries. Review any use -of ``query()`` method and be assess whether the value might be boolean instead of Result object. +of ``query()`` method and assess whether the value might be boolean instead of Result object. For a better idea of what queries are write-type queries, check ``BaseConnection::isWriteType()`` and any DBMS-specific override ``isWriteType()`` in the relevant Connection class. diff --git a/user_guide_src/source/installation/upgrade_431.rst b/user_guide_src/source/installation/upgrade_431.rst index 4adce6d4af2d..ae9ae6e27e1b 100644 --- a/user_guide_src/source/installation/upgrade_431.rst +++ b/user_guide_src/source/installation/upgrade_431.rst @@ -66,7 +66,7 @@ and it is recommended that you merge the updated versions with your application: Config ------ -- app/Config/Encryption.php +- app/Config/Email.php - Set the default value ``''`` to ``$fromEmail``, ``$fromName``, ``$recipients``, ``$SMTPHost``, ``$SMTPUser`` and ``$SMTPPass`` to apply environment variable (**.env**) values.