Boris Johnson quit as an MP ahead of publication of a report into whether he lied to Parliament.