@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | if ($str !== '') { |
346 | 346 | if ($from !== false && $to === false) { |
347 | 347 | $str = mb_convert_encoding($str, 'UTF-8', $from); |
348 | - return iconv('UTF-8', $this->getIconvAlias($toCharset) . '//TRANSLIT//IGNORE', $str); |
|
348 | + return iconv('UTF-8', $this->getIconvAlias($toCharset).'//TRANSLIT//IGNORE', $str); |
|
349 | 349 | } elseif ($from === false && $to !== false) { |
350 | 350 | $str = iconv($this->getIconvAlias($fromCharset), 'UTF-8//TRANSLIT//IGNORE', $str); |
351 | 351 | return mb_convert_encoding($str, $to, 'UTF-8'); |
@@ -354,7 +354,7 @@ discard block |
||
354 | 354 | } |
355 | 355 | return iconv( |
356 | 356 | $this->getIconvAlias($fromCharset), |
357 | - $this->getIconvAlias($toCharset) . '//TRANSLIT//IGNORE', |
|
357 | + $this->getIconvAlias($toCharset).'//TRANSLIT//IGNORE', |
|
358 | 358 | $str |
359 | 359 | ); |
360 | 360 | } |
@@ -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_function_type_declaration_casing' => true, |
116 | 116 | // All instances created with new keyword must be followed by braces. |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | // There should not be space before or after object operators `->` and `?->`. |
193 | 193 | 'object_operator_without_whitespace' => true, |
194 | 194 | // Orders the elements of classes/interfaces/traits. |
195 | - 'ordered_class_elements' => ['order'=>['use_trait','constant_public','constant_protected','constant_private','property_public','property_protected','property_private']], |
|
195 | + 'ordered_class_elements' => ['order'=>['use_trait', 'constant_public', 'constant_protected', 'constant_private', 'property_public', 'property_protected', 'property_private']], |
|
196 | 196 | // Ordering `use` statements. |
197 | 197 | 'ordered_imports' => true, |
198 | 198 | // Orders the interfaces in an `implements` or `interface extends` clause. |