Skip to content

Instantly share code, notes, and snippets.

@ahebrank
Created March 15, 2017 16:45
Show Gist options
  • Select an option

  • Save ahebrank/b201f88201bf036e65067988b50dc2c3 to your computer and use it in GitHub Desktop.

Select an option

Save ahebrank/b201f88201bf036e65067988b50dc2c3 to your computer and use it in GitHub Desktop.
Devel Kint patch to limit array/object descent levels
diff --git a/kint/kint/config.default.php b/kint/kint/config.default.php
index 72f0a69..d75bb42 100644
--- a/kint/kint/config.default.php
+++ b/kint/kint/config.default.php
@@ -75,7 +75,7 @@
/** @var int max array/object levels to go deep, if zero no limits are applied */
-$_kintSettings['maxLevels'] = 7;
+$_kintSettings['maxLevels'] = 4;
/** @var string name of theme for rich view */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment