diff --git a/src/Tracy/Bar/assets/bar.phtml b/src/Tracy/Bar/assets/bar.phtml
index deb47506f..146798944 100644
--- a/src/Tracy/Bar/assets/bar.phtml
+++ b/src/Tracy/Bar/assets/bar.phtml
@@ -12,7 +12,7 @@ namespace Tracy;
- - ">
+
- ">
diff --git a/src/Tracy/Bar/assets/loader.phtml b/src/Tracy/Bar/assets/loader.phtml
index 9dca42808..9471d54a2 100644
--- a/src/Tracy/Bar/assets/loader.phtml
+++ b/src/Tracy/Bar/assets/loader.phtml
@@ -23,7 +23,7 @@ $asyncAttr = $async ? ' async' : '';
-
+
diff --git a/src/Tracy/Bar/panels/info.panel.phtml b/src/Tracy/Bar/panels/info.panel.phtml
index be42cb5e4..9d16a0384 100644
--- a/src/Tracy/Bar/panels/info.panel.phtml
+++ b/src/Tracy/Bar/panels/info.panel.phtml
@@ -45,7 +45,7 @@ $info = [
'HTTP method / response code' => isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] . ' / ' . http_response_code() : null,
'PHP' => PHP_VERSION,
'Xdebug' => extension_loaded('xdebug') ? phpversion('xdebug') : null,
- 'Tracy' => Debugger::VERSION,
+ 'Tracy' => Debugger::Version,
'Server' => $_SERVER['SERVER_SOFTWARE'] ?? null,
];
diff --git a/src/Tracy/Debugger/Debugger.php b/src/Tracy/Debugger/Debugger.php
index eafe719aa..9059fc6c4 100644
--- a/src/Tracy/Debugger/Debugger.php
+++ b/src/Tracy/Debugger/Debugger.php
@@ -17,7 +17,7 @@
*/
class Debugger
{
- public const VERSION = '2.10.3';
+ public const Version = '2.10.3';
/** server modes for Debugger::enable() */
public const
@@ -25,16 +25,25 @@ class Debugger
Production = true,
Detect = null;
- public const
- DEVELOPMENT = self::Development,
- PRODUCTION = self::Production,
- DETECT = self::Detect;
-
public const CookieSecret = 'tracy-debug';
+
+ /** @deprecated use Debugger::Version */
+ public const VERSION = self::Version;
+
+ /** @deprecated use Debugger::Development */
+ public const DEVELOPMENT = self::Development;
+
+ /** @deprecated use Debugger::Production */
+ public const PRODUCTION = self::Production;
+
+ /** @deprecated use Debugger::Detect */
+ public const DETECT = self::Detect;
+
+ /** @deprecated use Debugger::CookieSecret */
public const COOKIE_SECRET = self::CookieSecret;
/** in production mode is suppressed any debugging output */
- public static ?bool $productionMode = self::DETECT;
+ public static ?bool $productionMode = self::Detect;
/** whether to display debug bar in development mode */
public static bool $showBar = true;
@@ -391,7 +400,7 @@ public static function getBlueScreen(): BlueScreen
self::$blueScreen->info = [
'PHP ' . PHP_VERSION,
$_SERVER['SERVER_SOFTWARE'] ?? null,
- 'Tracy ' . self::VERSION,
+ 'Tracy ' . self::Version,
];
}