Fixing code issues with phpmd
Making phpmd fail if mess detection fails