@@ -347,7 +347,7 @@ discard block |
||
347 | 347 | if ($str !== '') { |
348 | 348 | if ($from !== false && $to === false) { |
349 | 349 | $str = \mb_convert_encoding($str, 'UTF-8', $from); |
350 | - return \iconv('UTF-8', $this->getIconvAlias($toCharset) . '//TRANSLIT//IGNORE', $str); |
|
350 | + return \iconv('UTF-8', $this->getIconvAlias($toCharset).'//TRANSLIT//IGNORE', $str); |
|
351 | 351 | } elseif ($from === false && $to !== false) { |
352 | 352 | $str = \iconv($this->getIconvAlias($fromCharset), 'UTF-8//TRANSLIT//IGNORE', $str); |
353 | 353 | return \mb_convert_encoding($str, $to, 'UTF-8'); |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | } |
357 | 357 | return \iconv( |
358 | 358 | $this->getIconvAlias($fromCharset), |
359 | - $this->getIconvAlias($toCharset) . '//TRANSLIT//IGNORE', |
|
359 | + $this->getIconvAlias($toCharset).'//TRANSLIT//IGNORE', |
|
360 | 360 | $str |
361 | 361 | ); |
362 | 362 | } |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | // Function defined by PHP should be called using the correct casing. |
111 | 111 | 'native_function_casing' => true, |
112 | 112 | // Add leading `\` before function invocation to speed up resolving. |
113 | - 'native_function_invocation' => ['include'=>['@all','trans']], |
|
113 | + 'native_function_invocation' => ['include'=>['@all', 'trans']], |
|
114 | 114 | // Native type hints for functions should use the correct case. |
115 | 115 | 'native_type_declaration_casing' => true, |
116 | 116 | // All instances created with new keyword must be followed by braces. |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | // There should not be space before or after object operators `->` and `?->`. |
191 | 191 | 'object_operator_without_whitespace' => true, |
192 | 192 | // Orders the elements of classes/interfaces/traits. |
193 | - 'ordered_class_elements' => ['order'=>['use_trait','constant_public','constant_protected','constant_private','property_public','property_protected','property_private']], |
|
193 | + 'ordered_class_elements' => ['order'=>['use_trait', 'constant_public', 'constant_protected', 'constant_private', 'property_public', 'property_protected', 'property_private']], |
|
194 | 194 | // Ordering `use` statements. |
195 | 195 | 'ordered_imports' => true, |
196 | 196 | // Orders the interfaces in an `implements` or `interface extends` clause. |