They were coded by Dave, your colleague developer. The classes are full of formatting errors, poor indentation, and weird one letter variables. There are so many dependencies you need to scroll down ...
No, you don’t need an IDE to code in PHP language, you can code in Notepad and be all good. But trust me, you wouldn’t want to go that route as you have to put in a lot of extra and unnecessary work ...