dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Reusable external store insertion with fallback"
[lhc/web/wiklou.git]
/
includes
/
StringUtils.php
diff --git
a/includes/StringUtils.php
b/includes/StringUtils.php
index
21a392a
..
48cde0e
100644
(file)
--- a/
includes/StringUtils.php
+++ b/
includes/StringUtils.php
@@
-65,7
+65,7
@@
class StringUtils {
| [\xf8-\xfb][\x80-\xbf]{4}
| \xfc[\x84-\xbf][\x80-\xbf]{4}
)+$/x', $value );
| [\xf8-\xfb][\x80-\xbf]{4}
| \xfc[\x84-\xbf][\x80-\xbf]{4}
)+$/x', $value );
- return ($hasUtf8 > 0 );
+ return (
$hasUtf8 > 0 );
}
}
}
}
@@
-233,7
+233,7
@@
class StringUtils {
// Explode, then put the replaced separators back in
$items = explode( $separator, $cleaned );
// Explode, then put the replaced separators back in
$items = explode( $separator, $cleaned );
- foreach( $items as $i => $str ) {
+ foreach
( $items as $i => $str ) {
$items[$i] = str_replace( $placeholder, $separator, $str );
}
$items[$i] = str_replace( $placeholder, $separator, $str );
}
@@
-440,7
+440,7
@@
class ReplacementArray {
* @param $data array
*/
function removeArray( $data ) {
* @param $data array
*/
function removeArray( $data ) {
- foreach( $data as $from => $to ) {
+ foreach
( $data as $from => $to ) {
$this->removePair( $from );
}
$this->fss = false;
$this->removePair( $from );
}
$this->fss = false;