fix(php): some php warnings