fix warnings when phpunit + xdebug