0
  • PHP 8.0
  • PhpStorm 2021.2
  • Runtime version: 11.0.11+9-b1504.13 amd64
  • Windows 10

I am receiving warnings "Selector matches unknown element suppress" and "Selector matches unknown element JSUnresolvedLibraryURL" in PhpStorm for the following:

<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title><?=$title?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="Description" content="Real Estate for sale <?=$fullAddress?>. MLS <?=$MLS?>">
    <!--suppress JSUnresolvedLibraryURL -->
    <script src='https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.js'></script>
</head>

It runs without error, but I would like to understand the why behind the warning and resolve it.

1 Answer 1

1

you must have some language injected in the comments. Please check language injections with IDE and Project scopes in Preferences | Editor | Language Injections.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.