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
TrailingCommaInMultilineFixer - introduction #4238
TrailingCommaInMultilineFixer - introduction #4238
Conversation
@SpacePossum any news about merging this? |
Thanks for opening this PR! I'm not sure if merging the fixer for array declaring and function calling is a good idea. please add this test <?php
while(
(
(
$a
)
)
) {} |
I'd highly appreciate this feature - what's the status, can I help? |
@Wojciechem you can make a review - e.g. proposing more test case and different naming/description if you think some would fit better. |
btw, I don't see any test case for method calls, something like:
|
@kubawerlos what do you think about this being 2 separate fixers? I would love to help with this |
I think it should be a separate fixer: it requires a minimum version of PHP 7.3. |
@erickskrauch only the options |
any news? |
@grachevko I guess it's waiting for review, so don't hesitate with doing it 😃 |
Good work. I think another obvious thing to support is for function definitions as well as calls (incuding closures), and also unifying with the list stuff? |
|
Friendly ping @kubawerlos. |
Bump! Would love to see this as well. Let me know if I can help. |
What is the direction this should go? Single fixer with options for arrays, functions calls and function declarations or seperate fixer for each? Ping @keradus, @SpacePossum, @julienfalque, @localheinz |
it's a shame we didn't managed to get conclusion in over a year. @kubawerlos , can I ask you to rebase this PR and ensure CI is green? to get this PR finally merged, let's have this feature in a single fixer. |
Thank you @kubawerlos. |
@kubawerlos , can you drop the deprecated elements at 3.0 line? |
Resolves #4135