Adding a way to limit which file types are searched could beneficial in certain scenarios. See original feature request at https://wordpress.org/support/topic/search-only-php-files/