textmate/php.tmbundle

Syntax highlighting for namespace declaration on same line as opening <?php tag

martinbean opened this issue · 2 comments

Laravel’s coding style guide says the namespace declaration must be on the same line as the opening <?php tag: http://laravel.com/docs/master/contributions#coding-style

When I do this in TextMate, the PHP syntax highlighter doesn’t pick up the namespace declaration, but does if it’s on a new line. Is it possible to add syntax highlighting if it’s on the same line as the opening <?php tag as well? I’d do it myself but really not au fait with TextMate package development.

Fixed, thanks for the report.

@infininight Awesome. Thanks!