Feature Request #4673

Allow comments on same line as if statement

Added by Yehuda Katz about 2 years ago. Updated about 2 years ago.

Status:NewStart date:12/09/2012
Priority:NormalDue date:
Assignee:Yehuda Katz% Done:


Category:PHPCS Coding Standards
Target version:-
Resolution: Points:1


Code like the following generates an error about using single line if statements:

if ($condition) // This checks for condition beta

I will submit a GitHub pull request referencing this if you want to use it.

Also available in: Atom PDF