We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running phpcbf on this code
<?php function fname($param) { if ($a) foreach ($b as $c) { if ($d) { $e=$f; $g=$h; } elseif ($i==0) { $j=$k; } } return $m; } ?>
i get this wrong result
<?php function fname($param) { if ($a) { foreach ($b as $c) { if ($d) { $e=$f; } $g=$h; } elseif ($i==0) { $j=$k; } } return $m; } ?>
The text was updated successfully, but these errors were encountered:
Fixed bug #372 : phpcbf parse problem, wrong brace placement for inli…
0e34b55
…ne IF
Thanks for reporting this. It has been fixed now.
Sorry, something went wrong.
Perfectly working, thanks
No branches or pull requests
When running phpcbf on this code
i get this wrong result
The text was updated successfully, but these errors were encountered: