-
-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
When I have the Symfony Plugin enabled I am getting errors for valid $crawler->filter() calls in my unit tests.
For example, this code, which is virtually identical to the Symfony Documentation (https://symfony.com/doc/current/components/dom_crawler.html#node-traversing):
$crawler->filter('h3')
or
$crawler->filter('body')
Results in the IDE display an error stating " ':' expected " as seen in this picture:

If I disable the Symfony Plugin, PHPStorm generates no errors, so I believe the source of it is this plugin. The code and test runs properly, so this error appears to have something to do with this plugin.
The Crawler call is from this portion of Crawler.php:

Matt-PMCT, mhujer and jdreesen
Metadata
Metadata
Assignees
Labels
No labels