Determination of the phase $\phi_s$ at LHCb