That's an interesting feature.
So far we tried to avoid the need for editing source files in order to suppress/configure editor-specific warnings.
Currently, you can suppress warnings on file level with .editorconfig
[**/legacyfile.php]
php_diagnostic_php0405 = false
PHPDoc tag @suppress or @SuppressWarnings make sense. Do you know what is the standard approach by other editors?