If the flux of the electric field through a closed surface is zero, then
the electric field must be zero everywhere on the surface
the total charge inside the surface must be zero
the electric field must be uniform throughout the closed surface
the charge outside the surface must be zero
ϕ=qin ε0 or 0=qin ε0 ⇒qin =0