mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs: add "Parameter Type Changes" and "Deprecations"
This commit is contained in:
parent
eb288ec342
commit
7d31f522c7
@ -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``,
|
||||
|
Loading…
x
Reference in New Issue
Block a user