This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Files which contain some PHP snippet (e.g. Markdown files), but their file extension is not registered for PHP mime type, should not be parsed. Mostly there don't have to be a valid PHP parsable code and unexpected errors are propagated through whole project root. They can be lexed, it doesn't matter, but shouldn't be parsed.
Files which don't have any file extension will be parsed as well.
Fixed in web-main #4a2d7d0a12ce