Codesniffs

@willmot any particular reason for not using Yoda conditions? Or is it just an oversight?