Phase transitions and thermodynamic geometry of a Kerr–Newman black hole in a cavity Yuchen Huang, Jun Tao, Peng Wang and Shuxuan Ying Eur. Phys. J. Plus, 138 3 (2023) 265 Published online: 23 March 2023 DOI: 10.1140/epjp/s13360-023-03858-w