We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e23b0d9 commit 0b22524Copy full SHA for 0b22524
1 file changed
src/Utils/Formatter.php
@@ -390,7 +390,7 @@ public function formatList($list)
390
if (!((($prev->type === Token::TYPE_OPERATOR) && (($prev->value === '.') || ($prev->value === '(')))
391
// No space after . (
392
|| (($curr->type === Token::TYPE_OPERATOR) && (($curr->value === '.') || ($curr->value === ',') || ($curr->value === '(') || ($curr->value === ')')))
393
- // No space before . , )
+ // No space before . , ( )
394
|| (($curr->type === Token::TYPE_DELIMITER)) && (mb_strlen($curr->value, 'UTF-8') < 2))
395
// A space after delimiters that are longer than 2 characters.
396
|| ($prev->value === 'DELIMITER')
0 commit comments