ignore hidden files and suppress PHP warnings