Bug 40541 added tests to check for files that are missing a new line at the end of file. It does not check the .pref files in koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences When running the qa check for bug 41427 (before the follow-up patch), it generated a QA warning "Missing new line at the end of file, make sure your editor correctly reads .editorconfig ('insert_final_newline = true'). See bug 40541.". I think there are also two additional preference files that do not have a new line at the file: - cataloguing.pref - interlibrary-loans.pref The qa script generates a warning if you make changes to the files (and if, for whatever reason, you have an editor that doesn't have insert_final_newline = true set). Should xt/find-missing-new-lines-at-the-end-of-file.t check .pref files as well?