Fixed many small phpcs issues

This pr fixes many small phpcs issues
@stof we've been doing it for ages and it has worked out really nice so far, so: why not? :-)

We do it for visibility of the negation, fwiw.