@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | if (false !== $from && false === $to) { |
333 | 333 | $str = \mb_convert_encoding($str, 'UTF-8', $from); |
334 | 334 | |
335 | - return \iconv('UTF-8', $this->getIconvAlias($toCharset) . '//TRANSLIT//IGNORE', $str); |
|
335 | + return \iconv('UTF-8', $this->getIconvAlias($toCharset).'//TRANSLIT//IGNORE', $str); |
|
336 | 336 | } elseif (false === $from && false !== $to) { |
337 | 337 | $str = \iconv($this->getIconvAlias($fromCharset), 'UTF-8//TRANSLIT//IGNORE', $str); |
338 | 338 | |
@@ -343,7 +343,7 @@ discard block |
||
343 | 343 | |
344 | 344 | return \iconv( |
345 | 345 | $this->getIconvAlias($fromCharset), |
346 | - $this->getIconvAlias($toCharset) . '//TRANSLIT//IGNORE', |
|
346 | + $this->getIconvAlias($toCharset).'//TRANSLIT//IGNORE', |
|
347 | 347 | $str |
348 | 348 | ); |
349 | 349 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | // Ensure there is no code on the same line as the PHP open tag and it is followed by a blank line. |
25 | 25 | 'blank_line_after_opening_tag' => true, |
26 | 26 | // An empty line feed must precede any configured statement. |
27 | - 'blank_line_before_statement' => ['statements'=>['break','case','continue','declare','default','exit','do','exit','for','foreach','goto','if','return','switch','throw','try','while','yield']], |
|
27 | + 'blank_line_before_statement' => ['statements'=>['break', 'case', 'continue', 'declare', 'default', 'exit', 'do', 'exit', 'for', 'foreach', 'goto', 'if', 'return', 'switch', 'throw', 'try', 'while', 'yield']], |
|
28 | 28 | // A single space or none should be between cast and variable. |
29 | 29 | 'cast_spaces' => ['space'=>'none'], |
30 | 30 | // Class, trait and interface elements must be separated with one or none blank line. |
@@ -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','construct','destruct','magic','phpunit','method_public','method_protected','method_private']], |
|
195 | + 'ordered_class_elements' => ['order'=>['use_trait', 'constant_public', 'constant_protected', 'constant_private', 'property_public', 'property_protected', 'property_private', 'construct', 'destruct', 'magic', 'phpunit', 'method_public', 'method_protected', 'method_private']], |
|
196 | 196 | // Ordering `use` statements. |
197 | 197 | 'ordered_imports' => true, |
198 | 198 | // Orders the interfaces in an `implements` or `interface extends` clause. |