Explicitly check for `.php` files when scanning DCA files (see #5898)