Disable native PhpReturnDocTypeMismatchInspection
check
#10
Labels
enhancement
New feature or request
PhpReturnDocTypeMismatchInspection
check
#10
In one of the last versions of PhpStorm, a
PhpReturnDocTypeMismatchInspection
check was added, which sometimes gives false positive on our codebase. We already have aKphpReturnTypeMismatchInspection
that checks for the same, so the native check needs to be disabled.However, since when the plugin is updated by the user, new version of the plugin doesn't reinitialize enabled/disabled checks, a situation may arise when users will still have this check enabled.
Ideally, every plugin update, the plugin would run some function that would reinitialize the state of checks and turn off unnecessary ones.
See
com.intellij.ide.util.RunOnceUtil
The text was updated successfully, but these errors were encountered: