aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/utf/utf_normalizer.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-29 20:40:06 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-29 20:40:06 +0200
commit417a0d0ea62c29ad616e75bcbf132a9017c9cfd2 (patch)
tree32132483f24f6aaf760794b3a4d3b5723351fadf /phpBB/includes/utf/utf_normalizer.php
parent40351fae96de34312ca960abc5048c835f50e3ef (diff)
parent89391dec089e8085f486b768ad7654f62166f4a2 (diff)
downloadforums-417a0d0ea62c29ad616e75bcbf132a9017c9cfd2.tar
forums-417a0d0ea62c29ad616e75bcbf132a9017c9cfd2.tar.gz
forums-417a0d0ea62c29ad616e75bcbf132a9017c9cfd2.tar.bz2
forums-417a0d0ea62c29ad616e75bcbf132a9017c9cfd2.tar.xz
forums-417a0d0ea62c29ad616e75bcbf132a9017c9cfd2.zip
Merge pull request #2366 from bantu/ticket/12458
[ticket/12458] Apply Squiz.WhiteSpace.SuperfluousWhitespace.* to legacy code * bantu/ticket/12458: [ticket/12458] Apply Squiz.WhiteSpace.SuperfluousWhitespace.* to legacy code.
Diffstat (limited to 'phpBB/includes/utf/utf_normalizer.php')
-rw-r--r--phpBB/includes/utf/utf_normalizer.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/includes/utf/utf_normalizer.php b/phpBB/includes/utf/utf_normalizer.php
index a208552d53..f8c9c76d4f 100644
--- a/phpBB/includes/utf/utf_normalizer.php
+++ b/phpBB/includes/utf/utf_normalizer.php
@@ -479,7 +479,6 @@ class utf_normalizer
continue;
}
-
// STEP 1: Decompose current char
// We have found a character that is either:
@@ -527,7 +526,6 @@ class utf_normalizer
$utf_seq = array($utf_char);
}
-
// STEP 2: Capture the starter
// Check out the combining class of the first character of the UTF sequence
@@ -683,7 +681,6 @@ class utf_normalizer
}
}
-
// STEP 3: Capture following combining modifiers
while ($pos < $len)
@@ -752,7 +749,6 @@ class utf_normalizer
}
}
-
// STEP 4: Sort and combine
// Here we sort...
@@ -991,7 +987,6 @@ class utf_normalizer
$tmp_pos = $last_cc = $sort = $dump = 0;
$utf_sort = array();
-
// Main loop
do
{
@@ -1047,7 +1042,6 @@ class utf_normalizer
continue;
}
-
// STEP 1: Decide what to do with current char
// Now, in that order: