The vote followed hours of debate as the opposition Socialists called the extension unnecessary because the violence is abating .