fix PhpDetection mock so the PhpIni tests can run on multi platform