diff --git a/.travis.yml b/.travis.yml index 8dfbf19..5514534 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,6 @@ language: php php: - 7.1 - 7.2 -- 7.3 -- 7.4 matrix: allow_failures: diff --git a/src/Debug.php b/src/Debug.php index c5395bd..99a940b 100644 --- a/src/Debug.php +++ b/src/Debug.php @@ -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'; } } @@ -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); }