Skip to content

Commit

Permalink
constants are PascalCase
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Aug 27, 2023
1 parent ec66378 commit 8e1a020
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Tracy/Bar/panels/info.panel.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];

Expand Down
5 changes: 3 additions & 2 deletions src/Tracy/Debugger/Debugger.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
*/
class Debugger
{
public const VERSION = '2.10.3';
public const Version = '2.10.3';
public const VERSION = self::Version;

/** server modes for Debugger::enable() */
public const
Expand Down Expand Up @@ -391,7 +392,7 @@ public static function getBlueScreen(): BlueScreen
self::$blueScreen->info = [
'PHP ' . PHP_VERSION,
$_SERVER['SERVER_SOFTWARE'] ?? null,
'Tracy ' . self::VERSION,
'Tracy ' . self::Version,
];
}

Expand Down

0 comments on commit 8e1a020

Please sign in to comment.