Bug Report
| Subject |
Details |
| Rector version |
last dev-main |
| Installed as |
composer dependency |
Minimal PHP Code Causing Issue
See https://getrector.com/demo/165069a0-0e07-4ab0-b2c2-cda860a65d4f
<?php
# its a .phtml file
?>
<p>html</p>
<?php if ($cond) continue; ?>
Responsible rules
CompleteMissingIfElseBracketRector
Expected Behavior
Not sure if thats changable. If opening/closing php-tag is on same line, add braces in-line.
<?php
# its a .phtml file
?>
<p>html</p>
<?php if ($cond) { continue; } ?>
Bug Report
Minimal PHP Code Causing Issue
See https://getrector.com/demo/165069a0-0e07-4ab0-b2c2-cda860a65d4f
Responsible rules
CompleteMissingIfElseBracketRectorExpected Behavior
Not sure if thats changable. If opening/closing php-tag is on same line, add braces in-line.