We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symfony console accepts XML-style tags in the output, for example:
$output->writeln('<error>foo</error>');
Unlike XML, the closing tag name is optional, i.e. this is valid:
$output->writeln('<fire>foo</>');
Unfortunately, PHPStorm doesn't like it:
More annoyingly, when you attempt to clear the closing tag name, it also clears the opening tag name, and there no real way to prevent this:
👇
Is this something the Symfony plugin could fix? I'd even be happy with just disabling any XML helpers in OutputInterface::write() strings.
OutputInterface::write()
The text was updated successfully, but these errors were encountered:
I think you could disable the XML/HTML language injection inside string literals: Settings | Editor | Language Injections
Or add this comment in front of the string literal: /** @lang text */
/** @lang text */
Sorry, something went wrong.
I'm not sure if it's possible for plugins to remove/disable such injections for specific method calls.
Hmm too bad, neither of the above solutions find favor in my sight...
Let's wait for more feedback!
No branches or pull requests
Symfony console accepts XML-style tags in the output, for example:
Unlike XML, the closing tag name is optional, i.e. this is valid:
Unfortunately, PHPStorm doesn't like it:
More annoyingly, when you attempt to clear the closing tag name, it also clears the opening tag name, and there no real way to prevent this:
👇
Is this something the Symfony plugin could fix? I'd even be happy with just disabling any XML helpers in
OutputInterface::write()
strings.The text was updated successfully, but these errors were encountered: