This is identical to `Phpvars`, so just replace the whole block with `Phpvars.eol_or_comment`.