How was he anti-migrant and anti-EU?
He negotiated a WA with the EU. That shows support of a relationship with Europe. Not wanting to be a member of the EU does not equal being "anti-EU".
Did u not read or see anything during the election period?
He wanted no deal and could well yet go that route. He was in the Times saying for too long Eurpean migrants have treated this country as their own.