Remove error in symfony plugin