Code cleanup, no functional changes

This commit is contained in:
2023-06-27 19:39:11 +12:00
parent b70a36003a
commit ad36da0bb1
64 changed files with 466 additions and 438 deletions

View File

@@ -129,7 +129,7 @@ class ANSI
foreach ($ansi as $line) {
foreach ($line as $char) {
if ($char == 0x1b) {
if ($char === 0x1b) {
$escape = TRUE;
continue;
}
@@ -214,7 +214,7 @@ class ANSI
$current['b'] = (int)$buffer;
}
if ($c == 'm') {
if ($c === 'm') {
$ansi = FALSE;
$escape = FALSE;
$line .= chr(0x1b).chr(self::code($current));