docs: add "Parameter Type Changes" and "Deprecations"

This commit is contained in:
kenjis 2023-07-03 14:14:27 +09:00
parent eb288ec342
commit 7d31f522c7
No known key found for this signature in database
GPG Key ID: BD254878922AF198

View File

@ -62,6 +62,14 @@ Parameter Type Changes
changed from ``Config\App`` to ``Config\Security``.
- **Validation:** The method signature of ``Validation::check()`` has been changed.
The ``string`` typehint on the ``$rule`` parameter was removed.
- **CodeIgniter:** The method signature of ``CodeIgniter::setRequest()`` has been
changed. The ``Request`` typehint on the ``$request`` parameter was removed.
- **FeatureTestCase:**
- The method signature of ``FeatureTestCase::populateGlobals()`` has been
changed. The ``Request`` typehint on the ``$request`` parameter was removed.
- The method signature of ``FeatureTestCase::setRequestBody()`` has been
changed. The ``Request`` typehint on the ``$request`` parameter and the
return type ``Request`` were removed.
Added Parameters
----------------
@ -180,7 +188,12 @@ Deprecations
are deprecated. Because these methods have been moved to ``BaseExceptionHandler`` or
``ExceptionHandler``.
- **Autoloader:** ``Autoloader::sanitizeFilename()`` is deprecated.
- **CodeIgniter:** ``CodeIgniter::$returnResponse`` property is deprecated. No longer used.
- **CodeIgniter:**
- ``CodeIgniter::$returnResponse`` property is deprecated. No longer used.
- ``CodeIgniter::$cacheTTL`` property is deprecated. No longer used. Use ``ResponseCache`` instead.
- ``CodeIgniter::cache()`` method is deprecated. No longer used. Use ``ResponseCache`` instead.
- ``CodeIgniter::cachePage()`` method is deprecated. No longer used. Use ``ResponseCache`` instead.
- ``CodeIgniter::generateCacheName()`` method is deprecated. No longer used. Use ``ResponseCache`` instead.
- **RedirectException:** ``\CodeIgniter\Router\Exceptions\RedirectException`` is deprecated. Use ``\CodeIgniter\HTTP\Exceptions\RedirectException`` instead.
- **Session:** The property ``$sessionDriverName``, ``$sessionCookieName``,
``$sessionExpiration``, ``$sessionSavePath``, ``$sessionMatchIP``,