-
-
Notifications
You must be signed in to change notification settings - Fork 185
Closed
Labels
Description
If I have enabled 2 rules
the SlevomatCodingStandard.Arrays.TrailingArrayComma.MissingTrailingComma
and Squiz.Arrays.ArrayDeclaration.NoComma
it will incorrectly make beautifying for the file
for example what it does with such file
<?php
//pre phpbcf
declare(strict_types=1);
return [
'notifications' => [
'channel' => 'database'
]
];
<?php
//post phpbcf
declare(strict_types=1);
return [
'notifications' => [
'channel' => 'database',,
],
];
see this 2 commas at the end? That't the problem. How can this be fixed? thank you!