Yoda conditions

Signed-off-by: paul de wouters <paul@hmn.md>
Comma after last array element

Signed-off-by: paul de wouters <paul@hmn.md>
Spaces

Signed-off-by: paul de wouters <paul@hmn.md>
More Yoda conditions

Signed-off-by: paul de wouters <paul@hmn.md>
Merge branch 'master' into codesniffs

Conflicts:
	admin/upsell.php
	classes/class-schedule.php
Formatting

Inline conditional statements not allowed, yoda conditions, spacing
Merge pull request #571 from humanmade/codesniffs

Codesniffs