phpfmt8
phpfmt8 copied to clipboard
Improve Autosemicolon
Autosemicolon is one of the most important rules in the package. It really saves time while coding.
However, there are some cases that are not yet covered, such as those involving comments. As a result, it cannot add a semicolon in expressions like these:
$a = 1//
$B = 2;
$a = 1
//
$B = 2;
$a = 1
//
/** other comment */
$B = 2;