diff --git a/composer.json b/composer.json index fe89ee5d..be32d03e 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "dimtrovich/validation": "^1.5", "guzzlehttp/psr7": "^2.5", "jawira/case-converter": "^3.5", - "kint-php/kint": "^5.0.1", + "kint-php/kint": "^6.0", "mirazmac/php-requirements-checker": "^0.2.0", "monolog/monolog": "^3.0", "nette/schema": "^1.2", diff --git a/spec/support/application/app/Config/kint.php b/spec/support/application/app/Config/kint.php index d4fd17a7..ed71805f 100644 --- a/spec/support/application/app/Config/kint.php +++ b/spec/support/application/app/Config/kint.php @@ -1,6 +1,5 @@ false, 'rich_theme' => 'original.css', 'rich_folder' => false, - 'rich_sort' => AbstractRenderer::SORT_FULL, 'rich_value_plugins' => [], 'rich_tab_plugins' => [], 'cli_colors' => true, diff --git a/src/Constants/schemas/kint.config.php b/src/Constants/schemas/kint.config.php index 5b336951..f0b3949c 100644 --- a/src/Constants/schemas/kint.config.php +++ b/src/Constants/schemas/kint.config.php @@ -9,7 +9,6 @@ * the LICENSE file that was distributed with this source code. */ -use Kint\Renderer\AbstractRenderer; use Nette\Schema\Expect; return Expect::structure([ @@ -19,7 +18,6 @@ 'expanded' => Expect::bool()->default(false), 'rich_theme' => Expect::string()->default('original.css'), 'rich_folder' => Expect::bool()->default(false), - 'rich_sort' => Expect::int()->default(AbstractRenderer::SORT_FULL), 'rich_value_plugins' => Expect::arrayOf('string', 'string'), 'rich_tab_plugins' => Expect::arrayOf('string', 'string'), 'cli_colors' => Expect::bool()->default(true), diff --git a/src/Initializer/kint.php b/src/Initializer/kint.php index af95b307..ba690344 100644 --- a/src/Initializer/kint.php +++ b/src/Initializer/kint.php @@ -31,7 +31,6 @@ RichRenderer::$theme = $config->rich_theme; RichRenderer::$folder = $config->rich_folder; -RichRenderer::$sort = $config->rich_sort; if (! empty($config->rich_value_plugins)) { RichRenderer::$value_plugins = $config->rich_value_plugins;