We present a phase-space study of a non-Hermitian Hamiltonian with PT symmetry based on the Wigner distribution function. For an arbitrary complex potential, we derive a generalized continuity equation for the Wigner function flow and calculate the related circulation values. Studying the vicinity of an exceptional point, we show that a PT-symmetric phase transition from an unbroken PT-symmetry phase to a broken one is a second-order phase transition.