On the Dirac-like equation in phase space