First of all: Great product!!
im trying to configure the phpinsights.php but missing docs on how to configure built in insights?
e.g. I dont want a space after NOT operator.
if (!in_array(...)) should be if (! in_array(...))
So docs on how to disable it.
You should be able to add SpaceAfterNotSniff::class to the remove key in your config.
I agree it would be good to document this too (it is mentioned in the phpinsights.php file, but it could perhaps do with some more clarity in the docs). 馃憤
I see. an idea would be to state which insight class that belongs to the issue. This will help guide the user. e.g.:
my/namespace/MyClass.php:210: Expected 1 space(s) after NOT operator; 0 found (SpaceAfterNotSniff Insight)
@viezel Can you double check the docs on phpinsights.com and check if is better now?
@nunomaduro yes, much better 馃帀
love the new vendor/bin/phpinsights -v
Most helpful comment
I see. an idea would be to state which insight class that belongs to the issue. This will help guide the user. e.g.: