Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
martinbean opened this issue Oct 20, 2014 · 2 comments

Comments

@martinbean
Copy link
Contributor

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.

@infininight
Copy link
Member

Fixed, thanks for the report.

@martinbean
Copy link
Contributor Author

@infininight Awesome. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants