add '.php' to replaceInExtensions