functionalise php lint and style check