Skip to content

Commit

Permalink
Update Debug for Kint 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
geekwright committed Feb 14, 2021
1 parent b842b55 commit ba873cd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ private static function doOnce()
$class = get_called_class();
parent::$aliases[] = [$class, 'dump'];
parent::$aliases[] = [$class, 'backtrace'];
parent::$enabled_mode = true;
parent::$mode_default = \Kint::MODE_RICH;
// display output inline ::folder = false, true puts all output at bottom of window
\Kint\Renderer\RichRenderer::$folder = false;
// options: 'original' (default), 'solarized', 'solarized-dark' and 'aante-light'
\Kint\Renderer\RichRenderer::$theme = 'aante-light.css';
}
}

Expand All @@ -53,8 +59,6 @@ public static function dump($data = null)
$args = func_get_args();

static::doOnce();
// options: 'original' (default), 'solarized', 'solarized-dark' and 'aante-light'
\Kint_Renderer_Rich::$theme = 'aante-light.css';
forward_static_call_array(array('parent', 'dump'), $args);
}

Expand Down

0 comments on commit ba873cd

Please sign in to comment.