tighten / tlint

Tighten linter for Laravel conventions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sectionMissing directive generates an error.

RalphMRivera opened this issue · comments

The sectionMissing directive as documented here generates an error when tlint is run.

For example:

This code block...

    @sectionMissing('MySection')
        Oh, hai, Mark.
    @endif

Generates, this error...

============
! Syntax error, unexpected T_ENDIF
35 : `        <?php endif; ?>`