It's not madness if you're also using the LLM to do other stuff at the same time, is it? It's just another line.
In my own project, yeah, PHPStan, Rector, anything that will help.