When a code source is sometime more than ten years old, it is now time to rewrite it with good practices.
The first step is to use efficient tools. The result speaks for itself with these two snapshots :
Red points on first image indicate formatting errors !
I let you guess the mass of work and checks when there are nearly 30,000 lines in 4 plugins!