Skip to content

Commit

Permalink
docs: add "Parameter Type Changes" and "Deprecations"
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jul 3, 2023
1 parent eb288ec commit 7d31f52
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion user_guide_src/source/changelogs/v4.4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------
Expand Down Expand Up @@ -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``,
Expand Down

0 comments on commit 7d31f52

Please sign in to comment.