Portugal have all but qualified for the knockout stages of the World Cup after beating Morocco 1-0 in Moscow on…