Skip to content

Commit

Permalink
chore: update Kint to 5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Nov 22, 2022
1 parent c5564b2 commit 700c3d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin/framework/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"psr/log": "^1.1"
},
"require-dev": {
"kint-php/kint": "^4.2",
"kint-php/kint": "^5.0.1",
"codeigniter/coding-standard": "^1.5",
"fakerphp/faker": "^1.9",
"friendsofphp/php-cs-fixer": "~3.13.0",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"psr/log": "^1.1"
},
"require-dev": {
"kint-php/kint": "^5.0",
"kint-php/kint": "^5.0.1",
"codeigniter/coding-standard": "^1.5",
"fakerphp/faker": "^1.9",
"friendsofphp/php-cs-fixer": "~3.13.0",
Expand Down
4 changes: 3 additions & 1 deletion system/ThirdParty/Kint/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
\define('KINT_PHP83', \version_compare(PHP_VERSION, '8.3') >= 0);

// Dynamic default settings
Kint::$file_link_format = \ini_get('xdebug.file_link_format');
if (false !== \ini_get('xdebug.file_link_format')) {
Kint::$file_link_format = \ini_get('xdebug.file_link_format');
}
if (isset($_SERVER['DOCUMENT_ROOT'])) {
Kint::$app_root_dirs = [
$_SERVER['DOCUMENT_ROOT'] => '<ROOT>',
Expand Down

0 comments on commit 700c3d3

Please sign in to comment.