Fix php phpspecs and validators optimisation #101