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

SingleSpaceAfterConstructFixer - better handling of closing parenthesis and brace #5453

Merged
merged 1 commit into from Jan 19, 2021

Conversation

keradus
Copy link
Member

@keradus keradus commented Jan 19, 2021

closes #5448

@keradus keradus added this to the 2.17.5 milestone Jan 19, 2021
@keradus keradus added the topic/PHP8.0 Related to features available in PHP 8.0+ label Jan 19, 2021
@coveralls
Copy link

coveralls commented Jan 19, 2021

Coverage Status

Coverage remained the same at 91.928% when pulling b76f429 on keradus:fix_5448 into 3b59890 on FriendsOfPHP:2.17.

@keradus keradus merged commit dc281d9 into PHP-CS-Fixer:2.17 Jan 19, 2021
@keradus keradus deleted the fix_5448 branch January 19, 2021 23:14
'<?php
new Dummy(/* a */);
new Dummy(/** b */);
foo(/* c */);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about foo('x'/* c */, 'y'); ?

I think it still enforces space after */ which is againt every convention

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was referenced Mar 11, 2021
This was referenced Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/PHP8.0 Related to features available in PHP 8.0+
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extra space added after comments inlined in function calls
3 participants