As of now, there are a few inspection classes that actually do too much. A good example is the one that performs condition checks, since it:
Checks for type-unsafe comparison using operators == vs ===
Checks if in_array has 3rd parameter provided
Checks for optimizations of conditions if ($var == false) vs if ($var)
And other such inspections, IMO it will benefit greatly if the code is organized in such way that every inspections is in its own class and said class does as less things as possible.
As of now, there are a few
inspection
classes that actually do too much. A good example is the one that performs condition checks, since it:==
vs===
in_array
has 3rd parameter providedif ($var == false)
vsif ($var)
And other such inspections, IMO it will benefit greatly if the code is organized in such way that every inspections is in its own class and said class does as less things as possible.