The European Parliament has accepted Ukraine’s application to join the European Union.