Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Not A Bug
-
9.0
-
None
-
None
Description
Comments on a line do not align automatically.
public function &javascriptEnabled(): bool { // Example : Do not align after formatting. // Example : Functional alignment after formatting. return $this->javaScriptEnabled; }
Formatting only works if there is a space before the comment.
Result after formatting:
public function &javascriptEnabled(): bool { // Example : Do not align after formatting. // Example : Functional alignment after formatting. return $this->javaScriptEnabled; }