Search code examples
phppluginsphpstormsettings

How do I get into the setting of PHP Inspection plugin?


I have installed the Php Inspection (EA Extended) plugin in PhpStorm.

Yet where can I change its settings?

I want see all its possible checks, enable, disable them, and I want to the severity of each check (from light warning to error).

Yet all I see in the settings is:

Plugin settings but it's useless

For example, php inspect currently complaints about:

EA Use::self

in my unit tests and wants to change

$this->assertEquals()

to

self::assertEquals()

yet I want to completly disable that check.

How can I do it?


Solution

  • This plugin provides inspections, so they can be configured in the same place where other inspections are: Settings/Preferences | Editor | Inspections | PHP | Php Inspections (EA Extended)

    enter image description here

    For a quick access to the active inspection that generates some notice in your code you can definitely use Quick Fix menu: using it all the time:

    enter image description here