fix some warnings when phpunit + xdebug
fix some warnings when phpunit + xdebug

jmgq/lightncandy,Southparkfan/lightncandy,zordius/lightncandy,Southparkfan/lightncandy,vein1992/lightncandy,fadimko/lightncandy,Corollarium/lightncandy,zordius/lightncandy,fadimko/lightncandy,Corollarium/lightncandy,jmgq/lightncandy,vein1992/lightncandy,cgvarela/lightncandy,cgvarela/lightncandy