"Start tag has wrong closing tag" inspection gone wrong
I have a new version of phpstorm and am having an inspector problem. There's code:
<tr<?=$stuff;?>>
....
</tr>
The inspector insists that "Start tag has wrong closing tag" and suggests I change 'tr' to 'tr'.
It wouldn't bother me too much, but it shows as a red error at top top of the scroll bar, the scroll bar, in the code, red lightbulb, on the project panel, and red zig zag underlines on the file, the 5 parent folders, the filename in the tab, and everything in the breadcrumbs along the top. I'm notified 12 times about this issue.
I tried finding that particular inspection in Preferences > Inspections > HTML. I could not find it so I shut them all off. The error persists. I [eventually] shut off all inspections so all checkboxes are empty and the error persists.
If I change the code to <tr <?=$stuff;?>>, the error goes away, however, I don't want this error to show up if there's more code like this making my project panel look like an error Christmas tree.
I found this bug about it from 2010 here, but I guess it wasn't a bug then: https://youtrack.jetbrains.com/issue/WEB-487
Anyone have an ideas on how I can at least turn off this inspection? Is there other inspection settings somewhere? There are no plugins installed. Version 2019.3 Build #PS-192.5233.101
请先登录再写评论。
Please follow https://youtrack.jetbrains.com/issue/WEB-42723 for updates
>Anyone have an ideas on how I can at least turn off this inspection?
this is a low level syntax check that can't be disabled, I can only suggest turning syntax highlighting off for your file to avoid errors: open your file in editor, click the Hector icon in the lower right corner and then move the slider to change the Highlighting level to None. See https://www.jetbrains.com/help/phpstorm/disabling-and-enabling-inspections.html#change-highlighting-level-for-file.
Thanks for this. I wish it came up in one of my many google searches :)