Skip to content

Commit c791670

Browse files
authoredNov 21, 2024
Merge pull request #93 from voku/analysis-a6GjMm
Apply fixes from StyleCI
2 parents 74c3ce8 + 10ae7a4 commit c791670

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed
 

‎src/voku/helper/ASCII.php

-3
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,6 @@ public static function to_transliterate(
11921192
$str_tmp = \transliterator_transliterate($TRANSLITERATOR, $str);
11931193

11941194
if ($str_tmp !== false) {
1195-
11961195
// check again, if we only have ASCII, now ...
11971196
if (
11981197
$str_tmp !== $str
@@ -1285,7 +1284,6 @@ public static function to_transliterate(
12851284
$new_char = $ord & 255;
12861285

12871286
if (isset($UTF8_TO_TRANSLIT[$bank][$new_char])) {
1288-
12891287
// keep for debugging
12901288
/*
12911289
echo "file: " . sprintf('x%02x', $bank) . "\n";
@@ -1313,7 +1311,6 @@ public static function to_transliterate(
13131311
$c = $new_char;
13141312
}
13151313
} else {
1316-
13171314
// keep for debugging missing chars
13181315
/*
13191316
echo "file: " . sprintf('x%02x', $bank) . "\n";

‎tests/TransliterateTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public function testToTransliterate()
5151
{
5252
$testsStrict = [];
5353
if (\extension_loaded('intl') === true) {
54-
5554
// ---
5655

5756
$testString = \file_get_contents(__DIR__ . '/fixtures/sample-unicode-chart.txt');

0 commit comments

Comments
 (0)