code review
upd: phpcs rules, added OperatorSpacing