For code below I'm having strange error: Expected 0 blank lines at start of "if" control structure; -1 found:
if ( count($list->Records) > $list->GetSelectedCount() ) { // Has more records for next page.
$next_block_params = $this->prepareTagParams($params);
}
Technically comment after { isn't on new line, so error message is wrong. I guess we can make an exception and allow such comments that follow { or } on same line.
For code below I'm having strange error:
Expected 0 blank lines at start of "if" control structure; -1 found
:Technically comment after
{
isn't on new line, so error message is wrong. I guess we can make an exception and allow such comments that follow{
or}
on same line.