PIM-3097 : fix phpdoc and CS