Shouldn't be using the deprecated connect() method.   Actually, seems like you aren't using it, so you just need to remove it from your require list.