How to suppress the «Methods with the same name as their class will not be constructors» warning for phpPgAdmin?

Step 1

Locate the line

Replace it with the following one:

error_reporting(E_ALL & ~E_DEPRECATED);

Step 2

Locate the line

Replace it with the following one:

error_reporting(E_ALL & ~E_DEPRECATED);