mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-05-02 13:05:53 +02:00
* Check if hljs has language (#699) * Fix PHP 8 warning in `TracedStatement::getSqlWithParameters()` when null was bound Since PHP 8.0, [built-in functions like `strtr()` will emit a warning when passing `null` to required string parameters](docs): ``` strtr(): Passing null to parameter #1 ($string) of type string is deprecated ``` This can happen when e.g. binding `PDO::PARAM_NULL` to your query. [docs]: https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.core.null-not-nullable-internal --------- Co-authored-by: Barry vd. Heuvel <barryvdh@gmail.com>