phpStorm PS-138-1505 bug for style @import in blade file?

I think there is a bug when a .blade.php file has html <style> @import statement
- phpStorm gives an error warning: "Unexpected token" at the start of @import
(Exactly the same code in an .html file shows no error/warning.)
   <!doctype html>
   <html>
      <head>
        <meta charset="utf-8">
    <style>
      @import url(google.com/blah/baah.css)
    </style>

Anyone else see this? Is it a bug?

Thanks

1 comment
Comment actions Permalink

Hi there,

Anyone else see this? Is it a bug?

Seems to be a bug as @import is not listed as known directive in Blade settings (Settings | PHP | Blade)

Please create ticket on Issue Tracker

0

Please sign in to leave a comment.