1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-09 16:17:48 +02:00

Specify coding style and follow it

This commit is contained in:
Jakub Vrana
2025-03-05 09:14:49 +01:00
parent 422668f2d7
commit c52ba0308e
27 changed files with 226 additions and 126 deletions

View File

@@ -39,9 +39,15 @@ if (!extension_loaded("xdebug")) {
$line = $file[$l];
$color = "#C0FFC0"; // tested
switch ($coverage[realpath($filename)][$l+1]) {
case -1: $color = "#FFC0C0"; break; // untested
case -2: $color = "Silver"; break; // dead code
case null: $color = ""; break; // not executable
case -1: // untested
$color = "#FFC0C0";
break;
case -2: // dead code
$color = "Silver";
break;
case null: // not executable
$color = "";
break;
}
if ($prev_color === null) {
$prev_color = $color;