Currently an inline comment must be placed right above code line to be valid. This creates a problems, where you need to mark a piece of code with comments, e.g.
echo '';
// CUSTOM: begin
$this_code = 5;
// CUSTOM: end (warning here)
echo 'something';
I propose this:
if inline comment goes after another code in same line, then it's not an inline comment
inline comment can be connected (no empty line between them) to code line above it
inline comment can be connected (no empty line between them) to code line below it
Currently an inline comment must be placed right above code line to be valid. This creates a problems, where you need to mark a piece of code with comments, e.g.
I propose this: