Skip to content

Commit c46cea4

Browse files
authored
chore: update Kint to v6.0 (#9289)
* feat: update kint to v6.0 * fix: run cs
1 parent bcedf1c commit c46cea4

File tree

145 files changed

+7412
-4442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+7412
-4442
lines changed

admin/framework/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"codeigniter/coding-standard": "^1.7",
2121
"fakerphp/faker": "^1.9",
2222
"friendsofphp/php-cs-fixer": "^3.47.1",
23-
"kint-php/kint": "^5.0.4",
23+
"kint-php/kint": "^6.0",
2424
"mikey179/vfsstream": "^1.6",
2525
"nexusphp/cs-config": "^3.6",
2626
"phpunit/phpunit": "^10.5.16 || ^11.2",

app/Config/Kint.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Config;
44

55
use Kint\Parser\ConstructablePluginInterface;
6-
use Kint\Renderer\AbstractRenderer;
76
use Kint\Renderer\Rich\TabPluginInterface;
87
use Kint\Renderer\Rich\ValuePluginInterface;
98

@@ -41,7 +40,6 @@ class Kint
4140
*/
4241
public string $richTheme = 'aante-light.css';
4342
public bool $richFolder = false;
44-
public int $richSort = AbstractRenderer::SORT_FULL;
4543

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"require-dev": {
2020
"codeigniter/phpstan-codeigniter": "^1.4",
2121
"fakerphp/faker": "^1.9",
22-
"kint-php/kint": "^5.0.4",
22+
"kint-php/kint": "^6.0",
2323
"mikey179/vfsstream": "^1.6",
2424
"nexusphp/tachycardia": "^2.0",
2525
"phpstan/extension-installer": "^1.4",

system/Autoloader/Autoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ private function configureKint(): void
547547

548548
RichRenderer::$theme = $config->richTheme;
549549
RichRenderer::$folder = $config->richFolder;
550-
RichRenderer::$sort = $config->richSort;
550+
551551
if (isset($config->richObjectPlugins) && is_array($config->richObjectPlugins)) {
552552
RichRenderer::$value_plugins = $config->richObjectPlugins;
553553
}

system/CodeIgniter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ private function configureKint(): void
294294

295295
RichRenderer::$theme = $config->richTheme;
296296
RichRenderer::$folder = $config->richFolder;
297-
RichRenderer::$sort = $config->richSort;
297+
298298
if (isset($config->richObjectPlugins) && is_array($config->richObjectPlugins)) {
299299
RichRenderer::$value_plugins = $config->richObjectPlugins;
300300
}

0 commit comments

Comments
 (0)