Rawburner
Rawburner

Reputation: 1395

PhpStorm inspect code without external usages

I have the version 2019.2 of PhpStorm. I always liked to inspect code to see if something got broken. But now the inspect code takes much longer time because of the task "Processing external usages...". It takes me about 5 minutes to fulfill the inspection.

In the settings window, under PHP | Inspections I don't find any inspections which match to this task. I would like to run code inspection but without processing external usages, is that possible? Which inspection settings match to this task?

Upvotes: 1

Views: 100

Answers (1)

LazyOne
LazyOne

Reputation: 165088

That's a new (or improved?) inspection: Settings (Preferences on macOS) | Editor | Inspections | PHP | Unused | Unused declaration

It does take time & memory to run as it checks quite a bit of code.

Upvotes: 1

Related Questions