I accidently disabled an error checking measure. How do i turn it back on?

Hello, on PHPStorm i accidently disabled a code checking measure of where it tells you that you do not need the variable and it can simply be done in one simple return. How do i reset the plugin back to default?

$results = do the db query
return $results;

to 

return do the db query

Thanks

Hi,
If you are not connected to SonarQube, here is how you can customize SonarLint rules:

  • Open Settings
  • Go to ā€˜Other Settingsā€™ -> ā€˜SonarLint General Settingsā€™
  • Go to the ā€œRulesā€ tab

You can find there a button to restore the default configuration.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.