Fail if the CLI SAPI is not used to invoke composer