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
Use the new build env on Travis

more ram and cpu, improved network and boot times

http://docs.travis-ci.com/user/workers/container-based-infrastructure/

more docs coming soon
Merge pull request #603 from joshk/patch-1

Use the new build env on Travis
Merge branch 'master' into nice-errors

Conflicts:
	admin/actions.php