Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailing comma for function calls #5655

Closed
xorik opened this issue Apr 24, 2021 · 4 comments
Closed

Trailing comma for function calls #5655

xorik opened this issue Apr 24, 2021 · 4 comments

Comments

@xorik
Copy link

xorik commented Apr 24, 2021

Rule request

Hi. I didn't find a rule that fixes trailing comma in function calls.

Code snippet that shows how the rule would fix PHP code

<?php
something(
    $foo,
    $bar
);

Should become

<?php
something(
    $foo,
    $bar,
);
@keradus
Copy link
Member

keradus commented Apr 24, 2021

would you like to implement it, @xorik ?

@kubawerlos
Copy link
Contributor

@keradus the topic is on hold here: #4238 - since there is no conclusion if it should be one fixer for trailing comma in multiline or 3 separate fixers.

@keradus
Copy link
Member

keradus commented May 3, 2021

@kubawerlos , is this closed with merge of #4238 ?

@kubawerlos
Copy link
Contributor

@keradus yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants