Ran PHPCBF over code
phpcs-errors:0 phpunit-status:successful
This commit is contained in:
parent
ace247fc35
commit
119c350db6
@ -179,7 +179,7 @@ function transform(string $transform):string {
|
||||
$transform = preg_replace('#é#', 'é', $transform);
|
||||
$transform = preg_replace('#è#', 'è', $transform);
|
||||
|
||||
foreach (array("[", "]") as $toescape)
|
||||
foreach (["[", "]"] as $toescape)
|
||||
$transform = str_replace ($toescape, "$" . $toescape . "$", $transform);
|
||||
|
||||
$transform = html_entity_decode($transform, ENT_QUOTES, "utf-8" );
|
||||
|
Reference in New Issue
Block a user