Skip to content

Commit

Permalink
config: overwrite with latest Config files
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jan 21, 2024
1 parent 52627b2 commit 48f7fee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
16 changes: 9 additions & 7 deletions app/Config/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Config;

use CodeIgniter\Cache\CacheInterface;
use CodeIgniter\Cache\Handlers\DummyHandler;
use CodeIgniter\Cache\Handlers\FileHandler;
use CodeIgniter\Cache\Handlers\MemcachedHandler;
Expand Down Expand Up @@ -53,12 +54,12 @@ class Cache extends BaseConfig
* Whether to take the URL query string into consideration when generating
* output cache files. Valid options are:
*
* false = Disabled
* true = Enabled, take all query parameters into account.
* Please be aware that this may result in numerous cache
* files generated for the same page over and over again.
* array('q') = Enabled, but only take into account the specified list
* of query parameters.
* false = Disabled
* true = Enabled, take all query parameters into account.
* Please be aware that this may result in numerous cache
* files generated for the same page over and over again.
* ['q'] = Enabled, but only take into account the specified list
* of query parameters.
*
* @var bool|string[]
*/
Expand Down Expand Up @@ -95,7 +96,8 @@ class Cache extends BaseConfig
* A string of reserved characters that will not be allowed in keys or tags.
* Strings that violate this restriction will cause handlers to throw.
* Default: {}()/\@:
* Note: The default set is required for PSR-6 compliance.
*
* NOTE: The default set is required for PSR-6 compliance.
*/
public string $reservedCharacters = '{}()/\@:';

Expand Down
6 changes: 4 additions & 2 deletions app/Config/Kint.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
namespace Config;

use CodeIgniter\Config\BaseConfig;
use Kint\Parser\ConstructablePluginInterface;
use Kint\Renderer\AbstractRenderer;
use Kint\Renderer\Rich\TabPluginInterface;
use Kint\Renderer\Rich\ValuePluginInterface;

/**
* --------------------------------------------------------------------------
Expand Down Expand Up @@ -39,12 +42,11 @@ class Kint extends BaseConfig
*/
public string $richTheme = 'aante-light.css';
public bool $richFolder = false;
public int $richSort = AbstractRenderer::SORT_FULL;

Check failure on line 45 in app/Config/Kint.php

View workflow job for this annotation

GitHub Actions / psalm / Psalm Analysis

UndefinedClass

app/Config/Kint.php:45:32: UndefinedClass: Class, interface or enum named Kint\Renderer\AbstractRenderer does not exist (see https://psalm.dev/019)

/**
* @var array<string, class-string<ValuePluginInterface>>|null

Check failure on line 48 in app/Config/Kint.php

View workflow job for this annotation

GitHub Actions / psalm / Psalm Analysis

UndefinedDocblockClass

app/Config/Kint.php:48:13: UndefinedDocblockClass: Docblock-defined class, interface or enum named Kint\Renderer\Rich\ValuePluginInterface does not exist (see https://psalm.dev/200)
*/
public int $richSort = AbstractRenderer::SORT_FULL;

public $richObjectPlugins;

/**
Expand Down

0 comments on commit 48f7fee

Please sign in to comment.