Improve php strictness