php / php-src

The PHP Interpreter
https://www.php.net
Other
37.99k stars 7.73k forks source link

Error: Access to undeclared static property Kint\Kint::$depth_limit #9928

Closed KrlsRomero closed 1 year ago

KrlsRomero commented 1 year ago

Description

The following code:


250         }
251 
252         /** @var \Config\Kint $config */
253         $config = config(KintConfig::class);
254 
255         Kint::$depth_limit         = $config->maxDepth;
256         Kint::$display_called_from = $config->displayCalledFrom;
257         Kint::$expanded            = $config->expanded;
258 
259         if (! empty($config->plugins) && is_array($config->plugins)) {
260             Kint::$plugins = $config->plugins;
261         }
262       ?>

### PHP Version

PHP 8.2 OCR6

### Operating System

Windows 11 64 Bits
damianwadley commented 1 year ago

We are not Kint.

https://github.com/kint-php/kint