Earlier quoted context omitted.
We already automate that, it's called a compiler. The human review is just for kicks for this type of thing. Of course some languages... PHP ... aren't so lucky. $customer->cusomerEmail? Good luck dealing with that critical in production, fuckheads!
What if I told you there were tools for that
The point is moreso that PHP won't stop you from doing that. It will run, and it will continue running, and then it will throw an error at some point. Maybe.
If the code is actually executed. If it's in a branch that's only executed like 1/1000 times... not good.