Skip to content

Commit 5f7aeff

Browse files
committed
refactor: remove deprecated BaseHandler::RESERVED_CHARACTERS constant
1 parent 1172c8c commit 5f7aeff

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

system/Cache/Handlers/BaseHandler.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,6 @@
2525
*/
2626
abstract class BaseHandler implements CacheInterface
2727
{
28-
/**
29-
* Reserved characters that cannot be used in a key or tag. May be overridden by the config.
30-
* From https://github.com/symfony/cache-contracts/blob/c0446463729b89dd4fa62e9aeecc80287323615d/ItemInterface.php#L43
31-
*
32-
* @deprecated in favor of the Cache config
33-
*/
34-
public const RESERVED_CHARACTERS = '{}()/\@:';
35-
36-
/**
37-
* Maximum key length.
38-
*/
3928
public const MAX_KEY_LENGTH = PHP_INT_MAX;
4029

4130
/**

user_guide_src/source/changelogs/v4.8.0.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ Removed Deprecated Items
5454
- ``CodeIgniter\Autoloader\Autoloader::sanitizeFileName()``
5555
- ``CodeIgniter\Autoloader\Autoloader::discoverComposerNamespaces()``
5656
- **Bootstrap:** The deprecated **system/bootstrap.php** file has been removed.
57-
- **Cache:** Removed the following methods deprecated since v4.6.0:
58-
- ``CodeIgniter\Cache\Handlers\FileHandler::writeFile()``
59-
- ``CodeIgniter\Cache\Handlers\FileHandler::deleteFile()``
60-
- ``CodeIgniter\Cache\Handlers\FileHandler::getDirFileInfo()``
61-
- ``CodeIgniter\Cache\Handlers\FileHandler::getFileInfo()``
57+
- **Cache:** Removed the following deprecated methods and constant:
58+
- ``CodeIgniter\Cache\Handlers\BaseHandler::RESERVED_CHARACTERS`` (deprecated since v4.1.5)
59+
- ``CodeIgniter\Cache\Handlers\FileHandler::writeFile()`` (deprecated since v4.6.0)
60+
- ``CodeIgniter\Cache\Handlers\FileHandler::deleteFile()`` (deprecated since v4.6.0)
61+
- ``CodeIgniter\Cache\Handlers\FileHandler::getDirFileInfo()`` (deprecated since v4.6.0)
62+
- ``CodeIgniter\Cache\Handlers\FileHandler::getFileInfo()`` (deprecated since v4.6.0)
6263
- **CLI:** Removed the following properties and methods deprecated:
6364
- ``CodeIgniter\CLI\BaseCommand::getPad()``
6465
- ``CodeIgniter\CLI\CLI::$readline_support``

0 commit comments

Comments
 (0)