You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now (even with changes from #30) match case blocks are not checked for trailing commas:
$result = match ($test) {
1 => "a",
2 => "b"
};
Expected behaviour would be:
$result = match ($test) {
1 => "a",
2 => "b",
};
As @Baakoma notices, TrailingCommaInMultilineFixer from PHP-CS-Fixer doesn't have option for these structures. One solution would be to create pull request do PHP-CS-Fixer; second - to clone current fixer and add it to our repository.
The text was updated successfully, but these errors were encountered:
Right now (even with changes from #30) match case blocks are not checked for trailing commas:
Expected behaviour would be:
As @Baakoma notices,
TrailingCommaInMultilineFixer
from PHP-CS-Fixer doesn't have option for these structures. One solution would be to create pull request do PHP-CS-Fixer; second - to clone current fixer and add it to our repository.The text was updated successfully, but these errors were encountered: